package hu.bme.mit.androtext.gui.parser.antlr.internal; 

import java.io.InputStream;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.xtext.parsetree.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
import org.eclipse.xtext.conversion.ValueConverterException;
import hu.bme.mit.androtext.gui.services.AndroGuiLangGrammarAccess;



import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;

@SuppressWarnings("all")
public class InternalAndroGuiLangParser extends AbstractInternalAntlrParser {
    public static final String[] tokenNames = new String[] {
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'modelID'", "'absolutelayout'", "'{'", "'}'", "'linearlayout'", "'horizontal'", "'vertical'", "'framelayout'", "'relativelayout'", "'textview'", "'edittext'", "'button'", "'listview'", "'entries'", "'listitem'", "'spinner'", "'checkbox'", "'radiogroup'", "'ratingbar'", "'togglebutton'", "'textOn'", "'textOff'", "'radiobutton'", "'key'", "'summary'", "'enabled'", "'persistent'", "'dialogTitle'", "'defaultValue'", "'entryValues'", "'preference'", "'preferencescreen'", "'preferencecategery'", "'edittextpreference'", "'listpreference'", "'checkboxpreference'", "'ringtonepreference'", "'stringarray'", "'name'", "'value'", "'true'", "'false'", "'fill'", "'wrap'", "'fill&wrap'", "'wrap&fill'"
    };
    public static final int RULE_ID=4;
    public static final int RULE_STRING=5;
    public static final int RULE_ANY_OTHER=10;
    public static final int RULE_INT=6;
    public static final int RULE_WS=9;
    public static final int RULE_SL_COMMENT=8;
    public static final int EOF=-1;
    public static final int RULE_ML_COMMENT=7;

        public InternalAndroGuiLangParser(TokenStream input) {
            super(input);
        }
        

    public String[] getTokenNames() { return tokenNames; }
    public String getGrammarFileName() { return "../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g"; }



     	private AndroGuiLangGrammarAccess grammarAccess;
     	
        public InternalAndroGuiLangParser(TokenStream input, IAstFactory factory, AndroGuiLangGrammarAccess grammarAccess) {
            this(input);
            this.factory = factory;
            registerRules(grammarAccess.getGrammar());
            this.grammarAccess = grammarAccess;
        }
        
        @Override
        protected InputStream getTokenFile() {
        	ClassLoader classLoader = getClass().getClassLoader();
        	return classLoader.getResourceAsStream("hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.tokens");
        }
        
        @Override
        protected String getFirstRuleName() {
        	return "AndroGuiRoot";	
       	}
       	
       	@Override
       	protected AndroGuiLangGrammarAccess getGrammarAccess() {
       		return grammarAccess;
       	}



    // $ANTLR start entryRuleAndroGuiRoot
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:78:1: entryRuleAndroGuiRoot returns [EObject current=null] : iv_ruleAndroGuiRoot= ruleAndroGuiRoot EOF ;
    public final EObject entryRuleAndroGuiRoot() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleAndroGuiRoot = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:79:2: (iv_ruleAndroGuiRoot= ruleAndroGuiRoot EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:80:2: iv_ruleAndroGuiRoot= ruleAndroGuiRoot EOF
            {
             currentNode = createCompositeNode(grammarAccess.getAndroGuiRootRule(), currentNode); 
            pushFollow(FOLLOW_ruleAndroGuiRoot_in_entryRuleAndroGuiRoot75);
            iv_ruleAndroGuiRoot=ruleAndroGuiRoot();
            _fsp--;

             current =iv_ruleAndroGuiRoot; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleAndroGuiRoot85); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleAndroGuiRoot


    // $ANTLR start ruleAndroGuiRoot
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:87:1: ruleAndroGuiRoot returns [EObject current=null] : ( 'modelID' ( (lv_name_1_0= RULE_ID ) ) ( (lv_rootlayout_2_0= ruleRootLayout ) ) ( (lv_entries_3_0= ruleStringEntry ) )* ) ;
    public final EObject ruleAndroGuiRoot() throws RecognitionException {
        EObject current = null;

        Token lv_name_1_0=null;
        EObject lv_rootlayout_2_0 = null;

        EObject lv_entries_3_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:92:6: ( ( 'modelID' ( (lv_name_1_0= RULE_ID ) ) ( (lv_rootlayout_2_0= ruleRootLayout ) ) ( (lv_entries_3_0= ruleStringEntry ) )* ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:93:1: ( 'modelID' ( (lv_name_1_0= RULE_ID ) ) ( (lv_rootlayout_2_0= ruleRootLayout ) ) ( (lv_entries_3_0= ruleStringEntry ) )* )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:93:1: ( 'modelID' ( (lv_name_1_0= RULE_ID ) ) ( (lv_rootlayout_2_0= ruleRootLayout ) ) ( (lv_entries_3_0= ruleStringEntry ) )* )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:93:3: 'modelID' ( (lv_name_1_0= RULE_ID ) ) ( (lv_rootlayout_2_0= ruleRootLayout ) ) ( (lv_entries_3_0= ruleStringEntry ) )*
            {
            match(input,11,FOLLOW_11_in_ruleAndroGuiRoot120); 

                    createLeafNode(grammarAccess.getAndroGuiRootAccess().getModelIDKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:97:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:98:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:98:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:99:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)input.LT(1);
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAndroGuiRoot137); 

            			createLeafNode(grammarAccess.getAndroGuiRootAccess().getNameIDTerminalRuleCall_1_0(), "name"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getAndroGuiRootRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"name",
            	        		lv_name_1_0, 
            	        		"ID", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:121:2: ( (lv_rootlayout_2_0= ruleRootLayout ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:122:1: (lv_rootlayout_2_0= ruleRootLayout )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:122:1: (lv_rootlayout_2_0= ruleRootLayout )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:123:3: lv_rootlayout_2_0= ruleRootLayout
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getAndroGuiRootAccess().getRootlayoutRootLayoutParserRuleCall_2_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleRootLayout_in_ruleAndroGuiRoot163);
            lv_rootlayout_2_0=ruleRootLayout();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getAndroGuiRootRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"rootlayout",
            	        		lv_rootlayout_2_0, 
            	        		"RootLayout", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:145:2: ( (lv_entries_3_0= ruleStringEntry ) )*
            loop1:
            do {
                int alt1=2;
                int LA1_0 = input.LA(1);

                if ( (LA1_0==48) ) {
                    alt1=1;
                }


                switch (alt1) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:146:1: (lv_entries_3_0= ruleStringEntry )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:146:1: (lv_entries_3_0= ruleStringEntry )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:147:3: lv_entries_3_0= ruleStringEntry
            	    {
            	     
            	    	        currentNode=createCompositeNode(grammarAccess.getAndroGuiRootAccess().getEntriesStringEntryParserRuleCall_3_0(), currentNode); 
            	    	    
            	    pushFollow(FOLLOW_ruleStringEntry_in_ruleAndroGuiRoot184);
            	    lv_entries_3_0=ruleStringEntry();
            	    _fsp--;


            	    	        if (current==null) {
            	    	            current = factory.create(grammarAccess.getAndroGuiRootRule().getType().getClassifier());
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
            	    	        }
            	    	        try {
            	    	       		add(
            	    	       			current, 
            	    	       			"entries",
            	    	        		lv_entries_3_0, 
            	    	        		"StringEntry", 
            	    	        		currentNode);
            	    	        } catch (ValueConverterException vce) {
            	    				handleValueConverterException(vce);
            	    	        }
            	    	        currentNode = currentNode.getParent();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop1;
                }
            } while (true);


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleAndroGuiRoot


    // $ANTLR start entryRuleRootLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:177:1: entryRuleRootLayout returns [EObject current=null] : iv_ruleRootLayout= ruleRootLayout EOF ;
    public final EObject entryRuleRootLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRootLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:178:2: (iv_ruleRootLayout= ruleRootLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:179:2: iv_ruleRootLayout= ruleRootLayout EOF
            {
             currentNode = createCompositeNode(grammarAccess.getRootLayoutRule(), currentNode); 
            pushFollow(FOLLOW_ruleRootLayout_in_entryRuleRootLayout221);
            iv_ruleRootLayout=ruleRootLayout();
            _fsp--;

             current =iv_ruleRootLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRootLayout231); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleRootLayout


    // $ANTLR start ruleRootLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:186:1: ruleRootLayout returns [EObject current=null] : this_Layout_0= ruleLayout ;
    public final EObject ruleRootLayout() throws RecognitionException {
        EObject current = null;

        EObject this_Layout_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:191:6: (this_Layout_0= ruleLayout )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:193:5: this_Layout_0= ruleLayout
            {
             
                    currentNode=createCompositeNode(grammarAccess.getRootLayoutAccess().getLayoutParserRuleCall(), currentNode); 
                
            pushFollow(FOLLOW_ruleLayout_in_ruleRootLayout277);
            this_Layout_0=ruleLayout();
            _fsp--;

             
                    current = this_Layout_0; 
                    currentNode = currentNode.getParent();
                

            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleRootLayout


    // $ANTLR start entryRuleUIElement
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:209:1: entryRuleUIElement returns [EObject current=null] : iv_ruleUIElement= ruleUIElement EOF ;
    public final EObject entryRuleUIElement() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleUIElement = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:210:2: (iv_ruleUIElement= ruleUIElement EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:211:2: iv_ruleUIElement= ruleUIElement EOF
            {
             currentNode = createCompositeNode(grammarAccess.getUIElementRule(), currentNode); 
            pushFollow(FOLLOW_ruleUIElement_in_entryRuleUIElement311);
            iv_ruleUIElement=ruleUIElement();
            _fsp--;

             current =iv_ruleUIElement; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleUIElement321); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleUIElement


    // $ANTLR start ruleUIElement
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:218:1: ruleUIElement returns [EObject current=null] : (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout ) ;
    public final EObject ruleUIElement() throws RecognitionException {
        EObject current = null;

        EObject this_Widget_0 = null;

        EObject this_Layout_1 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:223:6: ( (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:224:1: (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:224:1: (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout )
            int alt2=2;
            int LA2_0 = input.LA(1);

            if ( ((LA2_0>=20 && LA2_0<=23)||(LA2_0>=26 && LA2_0<=30)) ) {
                alt2=1;
            }
            else if ( (LA2_0==12||LA2_0==15||(LA2_0>=18 && LA2_0<=19)||LA2_0==42) ) {
                alt2=2;
            }
            else {
                NoViableAltException nvae =
                    new NoViableAltException("224:1: (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout )", 2, 0, input);

                throw nvae;
            }
            switch (alt2) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:225:5: this_Widget_0= ruleWidget
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getUIElementAccess().getWidgetParserRuleCall_0(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleWidget_in_ruleUIElement368);
                    this_Widget_0=ruleWidget();
                    _fsp--;

                     
                            current = this_Widget_0; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:235:5: this_Layout_1= ruleLayout
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getUIElementAccess().getLayoutParserRuleCall_1(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleLayout_in_ruleUIElement395);
                    this_Layout_1=ruleLayout();
                    _fsp--;

                     
                            current = this_Layout_1; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleUIElement


    // $ANTLR start entryRuleLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:251:1: entryRuleLayout returns [EObject current=null] : iv_ruleLayout= ruleLayout EOF ;
    public final EObject entryRuleLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:252:2: (iv_ruleLayout= ruleLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:253:2: iv_ruleLayout= ruleLayout EOF
            {
             currentNode = createCompositeNode(grammarAccess.getLayoutRule(), currentNode); 
            pushFollow(FOLLOW_ruleLayout_in_entryRuleLayout430);
            iv_ruleLayout=ruleLayout();
            _fsp--;

             current =iv_ruleLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleLayout440); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleLayout


    // $ANTLR start ruleLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:260:1: ruleLayout returns [EObject current=null] : (this_AbsoluteLayout_0= ruleAbsoluteLayout | this_LinearLayout_1= ruleLinearLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout | this_PreferenceScreen_4= rulePreferenceScreen ) ;
    public final EObject ruleLayout() throws RecognitionException {
        EObject current = null;

        EObject this_AbsoluteLayout_0 = null;

        EObject this_LinearLayout_1 = null;

        EObject this_FrameLayout_2 = null;

        EObject this_RelativeLayout_3 = null;

        EObject this_PreferenceScreen_4 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:265:6: ( (this_AbsoluteLayout_0= ruleAbsoluteLayout | this_LinearLayout_1= ruleLinearLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout | this_PreferenceScreen_4= rulePreferenceScreen ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:266:1: (this_AbsoluteLayout_0= ruleAbsoluteLayout | this_LinearLayout_1= ruleLinearLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout | this_PreferenceScreen_4= rulePreferenceScreen )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:266:1: (this_AbsoluteLayout_0= ruleAbsoluteLayout | this_LinearLayout_1= ruleLinearLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout | this_PreferenceScreen_4= rulePreferenceScreen )
            int alt3=5;
            switch ( input.LA(1) ) {
            case 12:
                {
                alt3=1;
                }
                break;
            case 15:
                {
                alt3=2;
                }
                break;
            case 18:
                {
                alt3=3;
                }
                break;
            case 19:
                {
                alt3=4;
                }
                break;
            case 42:
                {
                alt3=5;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("266:1: (this_AbsoluteLayout_0= ruleAbsoluteLayout | this_LinearLayout_1= ruleLinearLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout | this_PreferenceScreen_4= rulePreferenceScreen )", 3, 0, input);

                throw nvae;
            }

            switch (alt3) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:267:5: this_AbsoluteLayout_0= ruleAbsoluteLayout
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getLayoutAccess().getAbsoluteLayoutParserRuleCall_0(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleAbsoluteLayout_in_ruleLayout487);
                    this_AbsoluteLayout_0=ruleAbsoluteLayout();
                    _fsp--;

                     
                            current = this_AbsoluteLayout_0; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:277:5: this_LinearLayout_1= ruleLinearLayout
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getLayoutAccess().getLinearLayoutParserRuleCall_1(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleLinearLayout_in_ruleLayout514);
                    this_LinearLayout_1=ruleLinearLayout();
                    _fsp--;

                     
                            current = this_LinearLayout_1; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:287:5: this_FrameLayout_2= ruleFrameLayout
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getLayoutAccess().getFrameLayoutParserRuleCall_2(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleFrameLayout_in_ruleLayout541);
                    this_FrameLayout_2=ruleFrameLayout();
                    _fsp--;

                     
                            current = this_FrameLayout_2; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:297:5: this_RelativeLayout_3= ruleRelativeLayout
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getLayoutAccess().getRelativeLayoutParserRuleCall_3(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleRelativeLayout_in_ruleLayout568);
                    this_RelativeLayout_3=ruleRelativeLayout();
                    _fsp--;

                     
                            current = this_RelativeLayout_3; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 5 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:307:5: this_PreferenceScreen_4= rulePreferenceScreen
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getLayoutAccess().getPreferenceScreenParserRuleCall_4(), currentNode); 
                        
                    pushFollow(FOLLOW_rulePreferenceScreen_in_ruleLayout595);
                    this_PreferenceScreen_4=rulePreferenceScreen();
                    _fsp--;

                     
                            current = this_PreferenceScreen_4; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleLayout


    // $ANTLR start entryRuleAbsoluteLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:323:1: entryRuleAbsoluteLayout returns [EObject current=null] : iv_ruleAbsoluteLayout= ruleAbsoluteLayout EOF ;
    public final EObject entryRuleAbsoluteLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleAbsoluteLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:324:2: (iv_ruleAbsoluteLayout= ruleAbsoluteLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:325:2: iv_ruleAbsoluteLayout= ruleAbsoluteLayout EOF
            {
             currentNode = createCompositeNode(grammarAccess.getAbsoluteLayoutRule(), currentNode); 
            pushFollow(FOLLOW_ruleAbsoluteLayout_in_entryRuleAbsoluteLayout630);
            iv_ruleAbsoluteLayout=ruleAbsoluteLayout();
            _fsp--;

             current =iv_ruleAbsoluteLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleAbsoluteLayout640); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleAbsoluteLayout


    // $ANTLR start ruleAbsoluteLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:332:1: ruleAbsoluteLayout returns [EObject current=null] : ( 'absolutelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' ) ;
    public final EObject ruleAbsoluteLayout() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Enumerator lv_layoutStyle_2_0 = null;

        EObject lv_elements_4_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:337:6: ( ( 'absolutelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:338:1: ( 'absolutelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:338:1: ( 'absolutelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:338:3: 'absolutelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}'
            {
            match(input,12,FOLLOW_12_in_ruleAbsoluteLayout675); 

                    createLeafNode(grammarAccess.getAbsoluteLayoutAccess().getAbsolutelayoutKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:342:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt4=2;
            int LA4_0 = input.LA(1);

            if ( (LA4_0==RULE_ID) ) {
                alt4=1;
            }
            switch (alt4) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:343:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:343:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:344:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAbsoluteLayout692); 

                    			createLeafNode(grammarAccess.getAbsoluteLayoutAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getAbsoluteLayoutRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:366:3: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:367:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:367:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:368:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getAbsoluteLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleAbsoluteLayout719);
            lv_layoutStyle_2_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getAbsoluteLayoutRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_2_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleAbsoluteLayout729); 

                    createLeafNode(grammarAccess.getAbsoluteLayoutAccess().getLeftCurlyBracketKeyword_3(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:394:1: ( (lv_elements_4_0= ruleUIElement ) )*
            loop5:
            do {
                int alt5=2;
                int LA5_0 = input.LA(1);

                if ( (LA5_0==12||LA5_0==15||(LA5_0>=18 && LA5_0<=23)||(LA5_0>=26 && LA5_0<=30)||LA5_0==42) ) {
                    alt5=1;
                }


                switch (alt5) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:395:1: (lv_elements_4_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:395:1: (lv_elements_4_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:396:3: lv_elements_4_0= ruleUIElement
            	    {
            	     
            	    	        currentNode=createCompositeNode(grammarAccess.getAbsoluteLayoutAccess().getElementsUIElementParserRuleCall_4_0(), currentNode); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleAbsoluteLayout750);
            	    lv_elements_4_0=ruleUIElement();
            	    _fsp--;


            	    	        if (current==null) {
            	    	            current = factory.create(grammarAccess.getAbsoluteLayoutRule().getType().getClassifier());
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
            	    	        }
            	    	        try {
            	    	       		add(
            	    	       			current, 
            	    	       			"elements",
            	    	        		lv_elements_4_0, 
            	    	        		"UIElement", 
            	    	        		currentNode);
            	    	        } catch (ValueConverterException vce) {
            	    				handleValueConverterException(vce);
            	    	        }
            	    	        currentNode = currentNode.getParent();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop5;
                }
            } while (true);

            match(input,14,FOLLOW_14_in_ruleAbsoluteLayout761); 

                    createLeafNode(grammarAccess.getAbsoluteLayoutAccess().getRightCurlyBracketKeyword_5(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleAbsoluteLayout


    // $ANTLR start entryRuleLinearLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:430:1: entryRuleLinearLayout returns [EObject current=null] : iv_ruleLinearLayout= ruleLinearLayout EOF ;
    public final EObject entryRuleLinearLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleLinearLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:431:2: (iv_ruleLinearLayout= ruleLinearLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:432:2: iv_ruleLinearLayout= ruleLinearLayout EOF
            {
             currentNode = createCompositeNode(grammarAccess.getLinearLayoutRule(), currentNode); 
            pushFollow(FOLLOW_ruleLinearLayout_in_entryRuleLinearLayout797);
            iv_ruleLinearLayout=ruleLinearLayout();
            _fsp--;

             current =iv_ruleLinearLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleLinearLayout807); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleLinearLayout


    // $ANTLR start ruleLinearLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:439:1: ruleLinearLayout returns [EObject current=null] : ( 'linearlayout' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) '{' ( (lv_elements_6_0= ruleUIElement ) )* '}' ) ;
    public final EObject ruleLinearLayout() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Token lv_orientation_2_0=null;
        Enumerator lv_layoutStyle_4_0 = null;

        EObject lv_elements_6_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:444:6: ( ( 'linearlayout' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) '{' ( (lv_elements_6_0= ruleUIElement ) )* '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:445:1: ( 'linearlayout' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) '{' ( (lv_elements_6_0= ruleUIElement ) )* '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:445:1: ( 'linearlayout' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) '{' ( (lv_elements_6_0= ruleUIElement ) )* '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:445:3: 'linearlayout' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) '{' ( (lv_elements_6_0= ruleUIElement ) )* '}'
            {
            match(input,15,FOLLOW_15_in_ruleLinearLayout842); 

                    createLeafNode(grammarAccess.getLinearLayoutAccess().getLinearlayoutKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:449:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt6=2;
            int LA6_0 = input.LA(1);

            if ( (LA6_0==RULE_ID) ) {
                alt6=1;
            }
            switch (alt6) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:450:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:450:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:451:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLinearLayout859); 

                    			createLeafNode(grammarAccess.getLinearLayoutAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getLinearLayoutRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:473:3: ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )?
            int alt7=3;
            int LA7_0 = input.LA(1);

            if ( (LA7_0==16) ) {
                alt7=1;
            }
            else if ( (LA7_0==17) ) {
                alt7=2;
            }
            switch (alt7) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:473:4: ( (lv_orientation_2_0= 'horizontal' ) )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:473:4: ( (lv_orientation_2_0= 'horizontal' ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:474:1: (lv_orientation_2_0= 'horizontal' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:474:1: (lv_orientation_2_0= 'horizontal' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:475:3: lv_orientation_2_0= 'horizontal'
                    {
                    lv_orientation_2_0=(Token)input.LT(1);
                    match(input,16,FOLLOW_16_in_ruleLinearLayout884); 

                            createLeafNode(grammarAccess.getLinearLayoutAccess().getOrientationHorizontalKeyword_2_0_0(), "orientation"); 
                        

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getLinearLayoutRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        
                    	        try {
                    	       		set(current, "orientation", true, "horizontal", lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:495:7: 'vertical'
                    {
                    match(input,17,FOLLOW_17_in_ruleLinearLayout913); 

                            createLeafNode(grammarAccess.getLinearLayoutAccess().getVerticalKeyword_2_1(), null); 
                        

                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:499:3: ( (lv_layoutStyle_4_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:500:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:500:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:501:3: lv_layoutStyle_4_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getLinearLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleLinearLayout936);
            lv_layoutStyle_4_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getLinearLayoutRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_4_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleLinearLayout946); 

                    createLeafNode(grammarAccess.getLinearLayoutAccess().getLeftCurlyBracketKeyword_4(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:527:1: ( (lv_elements_6_0= ruleUIElement ) )*
            loop8:
            do {
                int alt8=2;
                int LA8_0 = input.LA(1);

                if ( (LA8_0==12||LA8_0==15||(LA8_0>=18 && LA8_0<=23)||(LA8_0>=26 && LA8_0<=30)||LA8_0==42) ) {
                    alt8=1;
                }


                switch (alt8) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:528:1: (lv_elements_6_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:528:1: (lv_elements_6_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:529:3: lv_elements_6_0= ruleUIElement
            	    {
            	     
            	    	        currentNode=createCompositeNode(grammarAccess.getLinearLayoutAccess().getElementsUIElementParserRuleCall_5_0(), currentNode); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleLinearLayout967);
            	    lv_elements_6_0=ruleUIElement();
            	    _fsp--;


            	    	        if (current==null) {
            	    	            current = factory.create(grammarAccess.getLinearLayoutRule().getType().getClassifier());
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
            	    	        }
            	    	        try {
            	    	       		add(
            	    	       			current, 
            	    	       			"elements",
            	    	        		lv_elements_6_0, 
            	    	        		"UIElement", 
            	    	        		currentNode);
            	    	        } catch (ValueConverterException vce) {
            	    				handleValueConverterException(vce);
            	    	        }
            	    	        currentNode = currentNode.getParent();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop8;
                }
            } while (true);

            match(input,14,FOLLOW_14_in_ruleLinearLayout978); 

                    createLeafNode(grammarAccess.getLinearLayoutAccess().getRightCurlyBracketKeyword_6(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleLinearLayout


    // $ANTLR start entryRuleFrameLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:563:1: entryRuleFrameLayout returns [EObject current=null] : iv_ruleFrameLayout= ruleFrameLayout EOF ;
    public final EObject entryRuleFrameLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleFrameLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:564:2: (iv_ruleFrameLayout= ruleFrameLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:565:2: iv_ruleFrameLayout= ruleFrameLayout EOF
            {
             currentNode = createCompositeNode(grammarAccess.getFrameLayoutRule(), currentNode); 
            pushFollow(FOLLOW_ruleFrameLayout_in_entryRuleFrameLayout1014);
            iv_ruleFrameLayout=ruleFrameLayout();
            _fsp--;

             current =iv_ruleFrameLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleFrameLayout1024); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleFrameLayout


    // $ANTLR start ruleFrameLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:572:1: ruleFrameLayout returns [EObject current=null] : ( 'framelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' ) ;
    public final EObject ruleFrameLayout() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Enumerator lv_layoutStyle_2_0 = null;

        EObject lv_elements_4_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:577:6: ( ( 'framelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:578:1: ( 'framelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:578:1: ( 'framelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:578:3: 'framelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}'
            {
            match(input,18,FOLLOW_18_in_ruleFrameLayout1059); 

                    createLeafNode(grammarAccess.getFrameLayoutAccess().getFramelayoutKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:582:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt9=2;
            int LA9_0 = input.LA(1);

            if ( (LA9_0==RULE_ID) ) {
                alt9=1;
            }
            switch (alt9) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:583:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:583:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:584:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFrameLayout1076); 

                    			createLeafNode(grammarAccess.getFrameLayoutAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getFrameLayoutRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:606:3: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:607:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:607:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:608:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getFrameLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleFrameLayout1103);
            lv_layoutStyle_2_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getFrameLayoutRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_2_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleFrameLayout1113); 

                    createLeafNode(grammarAccess.getFrameLayoutAccess().getLeftCurlyBracketKeyword_3(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:634:1: ( (lv_elements_4_0= ruleUIElement ) )*
            loop10:
            do {
                int alt10=2;
                int LA10_0 = input.LA(1);

                if ( (LA10_0==12||LA10_0==15||(LA10_0>=18 && LA10_0<=23)||(LA10_0>=26 && LA10_0<=30)||LA10_0==42) ) {
                    alt10=1;
                }


                switch (alt10) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:635:1: (lv_elements_4_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:635:1: (lv_elements_4_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:636:3: lv_elements_4_0= ruleUIElement
            	    {
            	     
            	    	        currentNode=createCompositeNode(grammarAccess.getFrameLayoutAccess().getElementsUIElementParserRuleCall_4_0(), currentNode); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleFrameLayout1134);
            	    lv_elements_4_0=ruleUIElement();
            	    _fsp--;


            	    	        if (current==null) {
            	    	            current = factory.create(grammarAccess.getFrameLayoutRule().getType().getClassifier());
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
            	    	        }
            	    	        try {
            	    	       		add(
            	    	       			current, 
            	    	       			"elements",
            	    	        		lv_elements_4_0, 
            	    	        		"UIElement", 
            	    	        		currentNode);
            	    	        } catch (ValueConverterException vce) {
            	    				handleValueConverterException(vce);
            	    	        }
            	    	        currentNode = currentNode.getParent();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop10;
                }
            } while (true);

            match(input,14,FOLLOW_14_in_ruleFrameLayout1145); 

                    createLeafNode(grammarAccess.getFrameLayoutAccess().getRightCurlyBracketKeyword_5(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleFrameLayout


    // $ANTLR start entryRuleRelativeLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:670:1: entryRuleRelativeLayout returns [EObject current=null] : iv_ruleRelativeLayout= ruleRelativeLayout EOF ;
    public final EObject entryRuleRelativeLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRelativeLayout = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:671:2: (iv_ruleRelativeLayout= ruleRelativeLayout EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:672:2: iv_ruleRelativeLayout= ruleRelativeLayout EOF
            {
             currentNode = createCompositeNode(grammarAccess.getRelativeLayoutRule(), currentNode); 
            pushFollow(FOLLOW_ruleRelativeLayout_in_entryRuleRelativeLayout1181);
            iv_ruleRelativeLayout=ruleRelativeLayout();
            _fsp--;

             current =iv_ruleRelativeLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRelativeLayout1191); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleRelativeLayout


    // $ANTLR start ruleRelativeLayout
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:679:1: ruleRelativeLayout returns [EObject current=null] : ( 'relativelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' ) ;
    public final EObject ruleRelativeLayout() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Enumerator lv_layoutStyle_2_0 = null;

        EObject lv_elements_4_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:684:6: ( ( 'relativelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:685:1: ( 'relativelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:685:1: ( 'relativelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:685:3: 'relativelayout' ( (lv_id_1_0= RULE_ID ) )? ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( (lv_elements_4_0= ruleUIElement ) )* '}'
            {
            match(input,19,FOLLOW_19_in_ruleRelativeLayout1226); 

                    createLeafNode(grammarAccess.getRelativeLayoutAccess().getRelativelayoutKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:689:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt11=2;
            int LA11_0 = input.LA(1);

            if ( (LA11_0==RULE_ID) ) {
                alt11=1;
            }
            switch (alt11) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:690:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:690:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:691:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRelativeLayout1243); 

                    			createLeafNode(grammarAccess.getRelativeLayoutAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getRelativeLayoutRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:713:3: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:714:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:714:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:715:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getRelativeLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRelativeLayout1270);
            lv_layoutStyle_2_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getRelativeLayoutRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_2_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleRelativeLayout1280); 

                    createLeafNode(grammarAccess.getRelativeLayoutAccess().getLeftCurlyBracketKeyword_3(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:741:1: ( (lv_elements_4_0= ruleUIElement ) )*
            loop12:
            do {
                int alt12=2;
                int LA12_0 = input.LA(1);

                if ( (LA12_0==12||LA12_0==15||(LA12_0>=18 && LA12_0<=23)||(LA12_0>=26 && LA12_0<=30)||LA12_0==42) ) {
                    alt12=1;
                }


                switch (alt12) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:742:1: (lv_elements_4_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:742:1: (lv_elements_4_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:743:3: lv_elements_4_0= ruleUIElement
            	    {
            	     
            	    	        currentNode=createCompositeNode(grammarAccess.getRelativeLayoutAccess().getElementsUIElementParserRuleCall_4_0(), currentNode); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleRelativeLayout1301);
            	    lv_elements_4_0=ruleUIElement();
            	    _fsp--;


            	    	        if (current==null) {
            	    	            current = factory.create(grammarAccess.getRelativeLayoutRule().getType().getClassifier());
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
            	    	        }
            	    	        try {
            	    	       		add(
            	    	       			current, 
            	    	       			"elements",
            	    	        		lv_elements_4_0, 
            	    	        		"UIElement", 
            	    	        		currentNode);
            	    	        } catch (ValueConverterException vce) {
            	    				handleValueConverterException(vce);
            	    	        }
            	    	        currentNode = currentNode.getParent();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop12;
                }
            } while (true);

            match(input,14,FOLLOW_14_in_ruleRelativeLayout1312); 

                    createLeafNode(grammarAccess.getRelativeLayoutAccess().getRightCurlyBracketKeyword_5(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleRelativeLayout


    // $ANTLR start entryRuleWidget
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:777:1: entryRuleWidget returns [EObject current=null] : iv_ruleWidget= ruleWidget EOF ;
    public final EObject entryRuleWidget() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleWidget = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:778:2: (iv_ruleWidget= ruleWidget EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:779:2: iv_ruleWidget= ruleWidget EOF
            {
             currentNode = createCompositeNode(grammarAccess.getWidgetRule(), currentNode); 
            pushFollow(FOLLOW_ruleWidget_in_entryRuleWidget1348);
            iv_ruleWidget=ruleWidget();
            _fsp--;

             current =iv_ruleWidget; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleWidget1358); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleWidget


    // $ANTLR start ruleWidget
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:786:1: ruleWidget returns [EObject current=null] : (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton ) ;
    public final EObject ruleWidget() throws RecognitionException {
        EObject current = null;

        EObject this_TextView_0 = null;

        EObject this_EditText_1 = null;

        EObject this_Button_2 = null;

        EObject this_ListView_3 = null;

        EObject this_Spinner_4 = null;

        EObject this_RadioGroup_5 = null;

        EObject this_CheckBox_6 = null;

        EObject this_RatingBar_7 = null;

        EObject this_ToggleButton_8 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:791:6: ( (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:792:1: (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:792:1: (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton )
            int alt13=9;
            switch ( input.LA(1) ) {
            case 20:
                {
                alt13=1;
                }
                break;
            case 21:
                {
                alt13=2;
                }
                break;
            case 22:
                {
                alt13=3;
                }
                break;
            case 23:
                {
                alt13=4;
                }
                break;
            case 26:
                {
                alt13=5;
                }
                break;
            case 28:
                {
                alt13=6;
                }
                break;
            case 27:
                {
                alt13=7;
                }
                break;
            case 29:
                {
                alt13=8;
                }
                break;
            case 30:
                {
                alt13=9;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("792:1: (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton )", 13, 0, input);

                throw nvae;
            }

            switch (alt13) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:793:5: this_TextView_0= ruleTextView
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getWidgetAccess().getTextViewParserRuleCall_0(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleTextView_in_ruleWidget1405);
                    this_TextView_0=ruleTextView();
                    _fsp--;

                     
                            current = this_TextView_0; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:803:5: this_EditText_1= ruleEditText
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getWidgetAccess().getEditTextParserRuleCall_1(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleEditText_in_ruleWidget1432);
                    this_EditText_1=ruleEditText();
                    _fsp--;

                     
                            current = this_EditText_1; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:813:5: this_Button_2= ruleButton
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getWidgetAccess().getButtonParserRuleCall_2(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleButton_in_ruleWidget1459);
                    this_Button_2=ruleButton();
                    _fsp--;

                     
                            current = this_Button_2; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:823:5: this_ListView_3= ruleListView
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getWidgetAccess().getListViewParserRuleCall_3(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleListView_in_ruleWidget1486);
                    this_ListView_3=ruleListView();
                    _fsp--;

                     
                            current = this_ListView_3; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 5 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:833:5: this_Spinner_4= ruleSpinner
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getWidgetAccess().getSpinnerParserRuleCall_4(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleSpinner_in_ruleWidget1513);
                    this_Spinner_4=ruleSpinner();
                    _fsp--;

                     
                            current = this_Spinner_4; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 6 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:843:5: this_RadioGroup_5= ruleRadioGroup
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getWidgetAccess().getRadioGroupParserRuleCall_5(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleRadioGroup_in_ruleWidget1540);
                    this_RadioGroup_5=ruleRadioGroup();
                    _fsp--;

                     
                            current = this_RadioGroup_5; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 7 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:853:5: this_CheckBox_6= ruleCheckBox
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getWidgetAccess().getCheckBoxParserRuleCall_6(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleCheckBox_in_ruleWidget1567);
                    this_CheckBox_6=ruleCheckBox();
                    _fsp--;

                     
                            current = this_CheckBox_6; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 8 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:863:5: this_RatingBar_7= ruleRatingBar
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getWidgetAccess().getRatingBarParserRuleCall_7(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleRatingBar_in_ruleWidget1594);
                    this_RatingBar_7=ruleRatingBar();
                    _fsp--;

                     
                            current = this_RatingBar_7; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 9 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:873:5: this_ToggleButton_8= ruleToggleButton
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getWidgetAccess().getToggleButtonParserRuleCall_8(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleToggleButton_in_ruleWidget1621);
                    this_ToggleButton_8=ruleToggleButton();
                    _fsp--;

                     
                            current = this_ToggleButton_8; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleWidget


    // $ANTLR start entryRuleTextView
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:889:1: entryRuleTextView returns [EObject current=null] : iv_ruleTextView= ruleTextView EOF ;
    public final EObject entryRuleTextView() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleTextView = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:890:2: (iv_ruleTextView= ruleTextView EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:891:2: iv_ruleTextView= ruleTextView EOF
            {
             currentNode = createCompositeNode(grammarAccess.getTextViewRule(), currentNode); 
            pushFollow(FOLLOW_ruleTextView_in_entryRuleTextView1656);
            iv_ruleTextView=ruleTextView();
            _fsp--;

             current =iv_ruleTextView; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleTextView1666); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleTextView


    // $ANTLR start ruleTextView
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:898:1: ruleTextView returns [EObject current=null] : ( 'textview' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleTextView() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:903:6: ( ( 'textview' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:904:1: ( 'textview' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:904:1: ( 'textview' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:904:3: 'textview' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            match(input,20,FOLLOW_20_in_ruleTextView1701); 

                    createLeafNode(grammarAccess.getTextViewAccess().getTextviewKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:908:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt14=2;
            int LA14_0 = input.LA(1);

            if ( (LA14_0==RULE_ID) ) {
                alt14=1;
            }
            switch (alt14) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:909:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:909:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:910:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTextView1718); 

                    			createLeafNode(grammarAccess.getTextViewAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getTextViewRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:932:3: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:933:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:933:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:934:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTextView1741); 

            			createLeafNode(grammarAccess.getTextViewAccess().getTextSTRINGTerminalRuleCall_2_0(), "text"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getTextViewRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"text",
            	        		lv_text_2_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:956:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:957:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:957:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:958:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getTextViewAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleTextView1767);
            lv_layoutStyle_3_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getTextViewRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_3_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleTextView


    // $ANTLR start entryRuleEditText
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:988:1: entryRuleEditText returns [EObject current=null] : iv_ruleEditText= ruleEditText EOF ;
    public final EObject entryRuleEditText() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleEditText = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:989:2: (iv_ruleEditText= ruleEditText EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:990:2: iv_ruleEditText= ruleEditText EOF
            {
             currentNode = createCompositeNode(grammarAccess.getEditTextRule(), currentNode); 
            pushFollow(FOLLOW_ruleEditText_in_entryRuleEditText1803);
            iv_ruleEditText=ruleEditText();
            _fsp--;

             current =iv_ruleEditText; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleEditText1813); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleEditText


    // $ANTLR start ruleEditText
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:997:1: ruleEditText returns [EObject current=null] : ( 'edittext' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleEditText() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1002:6: ( ( 'edittext' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1003:1: ( 'edittext' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1003:1: ( 'edittext' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1003:3: 'edittext' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            match(input,21,FOLLOW_21_in_ruleEditText1848); 

                    createLeafNode(grammarAccess.getEditTextAccess().getEdittextKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1007:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt15=2;
            int LA15_0 = input.LA(1);

            if ( (LA15_0==RULE_ID) ) {
                alt15=1;
            }
            switch (alt15) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1008:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1008:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1009:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEditText1865); 

                    			createLeafNode(grammarAccess.getEditTextAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getEditTextRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1031:3: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1032:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1032:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1033:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEditText1888); 

            			createLeafNode(grammarAccess.getEditTextAccess().getTextSTRINGTerminalRuleCall_2_0(), "text"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getEditTextRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"text",
            	        		lv_text_2_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1055:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1056:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1056:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1057:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getEditTextAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleEditText1914);
            lv_layoutStyle_3_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getEditTextRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_3_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleEditText


    // $ANTLR start entryRuleButton
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1087:1: entryRuleButton returns [EObject current=null] : iv_ruleButton= ruleButton EOF ;
    public final EObject entryRuleButton() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleButton = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1088:2: (iv_ruleButton= ruleButton EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1089:2: iv_ruleButton= ruleButton EOF
            {
             currentNode = createCompositeNode(grammarAccess.getButtonRule(), currentNode); 
            pushFollow(FOLLOW_ruleButton_in_entryRuleButton1950);
            iv_ruleButton=ruleButton();
            _fsp--;

             current =iv_ruleButton; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleButton1960); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleButton


    // $ANTLR start ruleButton
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1096:1: ruleButton returns [EObject current=null] : ( 'button' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleButton() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1101:6: ( ( 'button' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1102:1: ( 'button' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1102:1: ( 'button' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1102:3: 'button' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            match(input,22,FOLLOW_22_in_ruleButton1995); 

                    createLeafNode(grammarAccess.getButtonAccess().getButtonKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1106:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt16=2;
            int LA16_0 = input.LA(1);

            if ( (LA16_0==RULE_ID) ) {
                alt16=1;
            }
            switch (alt16) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1107:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1107:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1108:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleButton2012); 

                    			createLeafNode(grammarAccess.getButtonAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getButtonRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1130:3: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1131:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1131:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1132:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleButton2035); 

            			createLeafNode(grammarAccess.getButtonAccess().getTextSTRINGTerminalRuleCall_2_0(), "text"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getButtonRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"text",
            	        		lv_text_2_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1154:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1155:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1155:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1156:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getButtonAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleButton2061);
            lv_layoutStyle_3_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getButtonRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_3_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleButton


    // $ANTLR start entryRuleListView
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1186:1: entryRuleListView returns [EObject current=null] : iv_ruleListView= ruleListView EOF ;
    public final EObject entryRuleListView() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleListView = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1187:2: (iv_ruleListView= ruleListView EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1188:2: iv_ruleListView= ruleListView EOF
            {
             currentNode = createCompositeNode(grammarAccess.getListViewRule(), currentNode); 
            pushFollow(FOLLOW_ruleListView_in_entryRuleListView2097);
            iv_ruleListView=ruleListView();
            _fsp--;

             current =iv_ruleListView; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleListView2107); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleListView


    // $ANTLR start ruleListView
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1195:1: ruleListView returns [EObject current=null] : ( 'listview' ( (lv_id_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( 'entries' ( ( RULE_ID ) ) )? ( 'listitem' ( ( RULE_ID ) ) )? '}' ) ;
    public final EObject ruleListView() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Enumerator lv_layoutStyle_2_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1200:6: ( ( 'listview' ( (lv_id_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( 'entries' ( ( RULE_ID ) ) )? ( 'listitem' ( ( RULE_ID ) ) )? '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1201:1: ( 'listview' ( (lv_id_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( 'entries' ( ( RULE_ID ) ) )? ( 'listitem' ( ( RULE_ID ) ) )? '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1201:1: ( 'listview' ( (lv_id_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( 'entries' ( ( RULE_ID ) ) )? ( 'listitem' ( ( RULE_ID ) ) )? '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1201:3: 'listview' ( (lv_id_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) '{' ( 'entries' ( ( RULE_ID ) ) )? ( 'listitem' ( ( RULE_ID ) ) )? '}'
            {
            match(input,23,FOLLOW_23_in_ruleListView2142); 

                    createLeafNode(grammarAccess.getListViewAccess().getListviewKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1205:1: ( (lv_id_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1206:1: (lv_id_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1206:1: (lv_id_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1207:3: lv_id_1_0= RULE_ID
            {
            lv_id_1_0=(Token)input.LT(1);
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleListView2159); 

            			createLeafNode(grammarAccess.getListViewAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getListViewRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"id",
            	        		lv_id_1_0, 
            	        		"ID", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1229:2: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1230:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1230:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1231:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getListViewAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleListView2185);
            lv_layoutStyle_2_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getListViewRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_2_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleListView2195); 

                    createLeafNode(grammarAccess.getListViewAccess().getLeftCurlyBracketKeyword_3(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1257:1: ( 'entries' ( ( RULE_ID ) ) )?
            int alt17=2;
            int LA17_0 = input.LA(1);

            if ( (LA17_0==24) ) {
                alt17=1;
            }
            switch (alt17) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1257:3: 'entries' ( ( RULE_ID ) )
                    {
                    match(input,24,FOLLOW_24_in_ruleListView2206); 

                            createLeafNode(grammarAccess.getListViewAccess().getEntriesKeyword_4_0(), null); 
                        
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1261:1: ( ( RULE_ID ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1262:1: ( RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1262:1: ( RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1263:3: RULE_ID
                    {

                    			if (current==null) {
                    	            current = factory.create(grammarAccess.getListViewRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                            
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleListView2224); 

                    		createLeafNode(grammarAccess.getListViewAccess().getEntriesStringEntryCrossReference_4_1_0(), "entries"); 
                    	

                    }


                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1275:4: ( 'listitem' ( ( RULE_ID ) ) )?
            int alt18=2;
            int LA18_0 = input.LA(1);

            if ( (LA18_0==25) ) {
                alt18=1;
            }
            switch (alt18) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1275:6: 'listitem' ( ( RULE_ID ) )
                    {
                    match(input,25,FOLLOW_25_in_ruleListView2237); 

                            createLeafNode(grammarAccess.getListViewAccess().getListitemKeyword_5_0(), null); 
                        
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1279:1: ( ( RULE_ID ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1280:1: ( RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1280:1: ( RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1281:3: RULE_ID
                    {

                    			if (current==null) {
                    	            current = factory.create(grammarAccess.getListViewRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                            
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleListView2255); 

                    		createLeafNode(grammarAccess.getListViewAccess().getLayoutAndroGuiRootCrossReference_5_1_0(), "layout"); 
                    	

                    }


                    }


                    }
                    break;

            }

            match(input,14,FOLLOW_14_in_ruleListView2267); 

                    createLeafNode(grammarAccess.getListViewAccess().getRightCurlyBracketKeyword_6(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleListView


    // $ANTLR start entryRuleSpinner
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1305:1: entryRuleSpinner returns [EObject current=null] : iv_ruleSpinner= ruleSpinner EOF ;
    public final EObject entryRuleSpinner() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleSpinner = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1306:2: (iv_ruleSpinner= ruleSpinner EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1307:2: iv_ruleSpinner= ruleSpinner EOF
            {
             currentNode = createCompositeNode(grammarAccess.getSpinnerRule(), currentNode); 
            pushFollow(FOLLOW_ruleSpinner_in_entryRuleSpinner2303);
            iv_ruleSpinner=ruleSpinner();
            _fsp--;

             current =iv_ruleSpinner; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleSpinner2313); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleSpinner


    // $ANTLR start ruleSpinner
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1314:1: ruleSpinner returns [EObject current=null] : ( 'spinner' ( (lv_id_1_0= RULE_ID ) )? ( ( RULE_ID ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleSpinner() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1319:6: ( ( 'spinner' ( (lv_id_1_0= RULE_ID ) )? ( ( RULE_ID ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1320:1: ( 'spinner' ( (lv_id_1_0= RULE_ID ) )? ( ( RULE_ID ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1320:1: ( 'spinner' ( (lv_id_1_0= RULE_ID ) )? ( ( RULE_ID ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1320:3: 'spinner' ( (lv_id_1_0= RULE_ID ) )? ( ( RULE_ID ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            match(input,26,FOLLOW_26_in_ruleSpinner2348); 

                    createLeafNode(grammarAccess.getSpinnerAccess().getSpinnerKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1324:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt19=2;
            int LA19_0 = input.LA(1);

            if ( (LA19_0==RULE_ID) ) {
                int LA19_1 = input.LA(2);

                if ( (LA19_1==RULE_ID) ) {
                    alt19=1;
                }
            }
            switch (alt19) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1325:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1325:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1326:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSpinner2365); 

                    			createLeafNode(grammarAccess.getSpinnerAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getSpinnerRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1348:3: ( ( RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1349:1: ( RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1349:1: ( RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1350:3: RULE_ID
            {

            			if (current==null) {
            	            current = factory.create(grammarAccess.getSpinnerRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
                    
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSpinner2389); 

            		createLeafNode(grammarAccess.getSpinnerAccess().getEntriesStringEntryCrossReference_2_0(), "entries"); 
            	

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1362:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1363:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1363:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1364:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getSpinnerAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleSpinner2410);
            lv_layoutStyle_3_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getSpinnerRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_3_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleSpinner


    // $ANTLR start entryRuleCheckBox
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1394:1: entryRuleCheckBox returns [EObject current=null] : iv_ruleCheckBox= ruleCheckBox EOF ;
    public final EObject entryRuleCheckBox() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleCheckBox = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1395:2: (iv_ruleCheckBox= ruleCheckBox EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1396:2: iv_ruleCheckBox= ruleCheckBox EOF
            {
             currentNode = createCompositeNode(grammarAccess.getCheckBoxRule(), currentNode); 
            pushFollow(FOLLOW_ruleCheckBox_in_entryRuleCheckBox2446);
            iv_ruleCheckBox=ruleCheckBox();
            _fsp--;

             current =iv_ruleCheckBox; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleCheckBox2456); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleCheckBox


    // $ANTLR start ruleCheckBox
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1403:1: ruleCheckBox returns [EObject current=null] : ( 'checkbox' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleCheckBox() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1408:6: ( ( 'checkbox' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1409:1: ( 'checkbox' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1409:1: ( 'checkbox' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1409:3: 'checkbox' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            match(input,27,FOLLOW_27_in_ruleCheckBox2491); 

                    createLeafNode(grammarAccess.getCheckBoxAccess().getCheckboxKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1413:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt20=2;
            int LA20_0 = input.LA(1);

            if ( (LA20_0==RULE_ID) ) {
                alt20=1;
            }
            switch (alt20) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1414:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1414:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1415:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCheckBox2508); 

                    			createLeafNode(grammarAccess.getCheckBoxAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getCheckBoxRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1437:3: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1438:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1438:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1439:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleCheckBox2531); 

            			createLeafNode(grammarAccess.getCheckBoxAccess().getTextSTRINGTerminalRuleCall_2_0(), "text"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getCheckBoxRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"text",
            	        		lv_text_2_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1461:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1462:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1462:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1463:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getCheckBoxAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleCheckBox2557);
            lv_layoutStyle_3_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getCheckBoxRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_3_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleCheckBox


    // $ANTLR start entryRuleRadioGroup
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1493:1: entryRuleRadioGroup returns [EObject current=null] : iv_ruleRadioGroup= ruleRadioGroup EOF ;
    public final EObject entryRuleRadioGroup() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRadioGroup = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1494:2: (iv_ruleRadioGroup= ruleRadioGroup EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1495:2: iv_ruleRadioGroup= ruleRadioGroup EOF
            {
             currentNode = createCompositeNode(grammarAccess.getRadioGroupRule(), currentNode); 
            pushFollow(FOLLOW_ruleRadioGroup_in_entryRuleRadioGroup2593);
            iv_ruleRadioGroup=ruleRadioGroup();
            _fsp--;

             current =iv_ruleRadioGroup; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRadioGroup2603); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleRadioGroup


    // $ANTLR start ruleRadioGroup
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1502:1: ruleRadioGroup returns [EObject current=null] : ( 'radiogroup' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ '}' ) ;
    public final EObject ruleRadioGroup() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Token lv_orientation_2_0=null;
        Enumerator lv_layoutStyle_4_0 = null;

        EObject lv_radiobuttons_6_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1507:6: ( ( 'radiogroup' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1508:1: ( 'radiogroup' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1508:1: ( 'radiogroup' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1508:3: 'radiogroup' ( (lv_id_1_0= RULE_ID ) )? ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ '}'
            {
            match(input,28,FOLLOW_28_in_ruleRadioGroup2638); 

                    createLeafNode(grammarAccess.getRadioGroupAccess().getRadiogroupKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1512:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt21=2;
            int LA21_0 = input.LA(1);

            if ( (LA21_0==RULE_ID) ) {
                alt21=1;
            }
            switch (alt21) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1513:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1513:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1514:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRadioGroup2655); 

                    			createLeafNode(grammarAccess.getRadioGroupAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getRadioGroupRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1536:3: ( ( (lv_orientation_2_0= 'horizontal' ) ) | 'vertical' )?
            int alt22=3;
            int LA22_0 = input.LA(1);

            if ( (LA22_0==16) ) {
                alt22=1;
            }
            else if ( (LA22_0==17) ) {
                alt22=2;
            }
            switch (alt22) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1536:4: ( (lv_orientation_2_0= 'horizontal' ) )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1536:4: ( (lv_orientation_2_0= 'horizontal' ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1537:1: (lv_orientation_2_0= 'horizontal' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1537:1: (lv_orientation_2_0= 'horizontal' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1538:3: lv_orientation_2_0= 'horizontal'
                    {
                    lv_orientation_2_0=(Token)input.LT(1);
                    match(input,16,FOLLOW_16_in_ruleRadioGroup2680); 

                            createLeafNode(grammarAccess.getRadioGroupAccess().getOrientationHorizontalKeyword_2_0_0(), "orientation"); 
                        

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getRadioGroupRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        
                    	        try {
                    	       		set(current, "orientation", true, "horizontal", lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1558:7: 'vertical'
                    {
                    match(input,17,FOLLOW_17_in_ruleRadioGroup2709); 

                            createLeafNode(grammarAccess.getRadioGroupAccess().getVerticalKeyword_2_1(), null); 
                        

                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1562:3: ( (lv_layoutStyle_4_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1563:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1563:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1564:3: lv_layoutStyle_4_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getRadioGroupAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRadioGroup2732);
            lv_layoutStyle_4_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getRadioGroupRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_4_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleRadioGroup2742); 

                    createLeafNode(grammarAccess.getRadioGroupAccess().getLeftCurlyBracketKeyword_4(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1590:1: ( (lv_radiobuttons_6_0= ruleRadioButton ) )+
            int cnt23=0;
            loop23:
            do {
                int alt23=2;
                int LA23_0 = input.LA(1);

                if ( (LA23_0==33) ) {
                    alt23=1;
                }


                switch (alt23) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1591:1: (lv_radiobuttons_6_0= ruleRadioButton )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1591:1: (lv_radiobuttons_6_0= ruleRadioButton )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1592:3: lv_radiobuttons_6_0= ruleRadioButton
            	    {
            	     
            	    	        currentNode=createCompositeNode(grammarAccess.getRadioGroupAccess().getRadiobuttonsRadioButtonParserRuleCall_5_0(), currentNode); 
            	    	    
            	    pushFollow(FOLLOW_ruleRadioButton_in_ruleRadioGroup2763);
            	    lv_radiobuttons_6_0=ruleRadioButton();
            	    _fsp--;


            	    	        if (current==null) {
            	    	            current = factory.create(grammarAccess.getRadioGroupRule().getType().getClassifier());
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
            	    	        }
            	    	        try {
            	    	       		add(
            	    	       			current, 
            	    	       			"radiobuttons",
            	    	        		lv_radiobuttons_6_0, 
            	    	        		"RadioButton", 
            	    	        		currentNode);
            	    	        } catch (ValueConverterException vce) {
            	    				handleValueConverterException(vce);
            	    	        }
            	    	        currentNode = currentNode.getParent();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt23 >= 1 ) break loop23;
                        EarlyExitException eee =
                            new EarlyExitException(23, input);
                        throw eee;
                }
                cnt23++;
            } while (true);

            match(input,14,FOLLOW_14_in_ruleRadioGroup2774); 

                    createLeafNode(grammarAccess.getRadioGroupAccess().getRightCurlyBracketKeyword_6(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleRadioGroup


    // $ANTLR start entryRuleRatingBar
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1626:1: entryRuleRatingBar returns [EObject current=null] : iv_ruleRatingBar= ruleRatingBar EOF ;
    public final EObject entryRuleRatingBar() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRatingBar = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1627:2: (iv_ruleRatingBar= ruleRatingBar EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1628:2: iv_ruleRatingBar= ruleRatingBar EOF
            {
             currentNode = createCompositeNode(grammarAccess.getRatingBarRule(), currentNode); 
            pushFollow(FOLLOW_ruleRatingBar_in_entryRuleRatingBar2810);
            iv_ruleRatingBar=ruleRatingBar();
            _fsp--;

             current =iv_ruleRatingBar; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRatingBar2820); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleRatingBar


    // $ANTLR start ruleRatingBar
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1635:1: ruleRatingBar returns [EObject current=null] : ( 'ratingbar' ( (lv_id_1_0= RULE_ID ) )? ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleRatingBar() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Token lv_numStars_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1640:6: ( ( 'ratingbar' ( (lv_id_1_0= RULE_ID ) )? ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1641:1: ( 'ratingbar' ( (lv_id_1_0= RULE_ID ) )? ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1641:1: ( 'ratingbar' ( (lv_id_1_0= RULE_ID ) )? ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1641:3: 'ratingbar' ( (lv_id_1_0= RULE_ID ) )? ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            match(input,29,FOLLOW_29_in_ruleRatingBar2855); 

                    createLeafNode(grammarAccess.getRatingBarAccess().getRatingbarKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1645:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt24=2;
            int LA24_0 = input.LA(1);

            if ( (LA24_0==RULE_ID) ) {
                alt24=1;
            }
            switch (alt24) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1646:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1646:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1647:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRatingBar2872); 

                    			createLeafNode(grammarAccess.getRatingBarAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getRatingBarRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1669:3: ( (lv_numStars_2_0= RULE_INT ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1670:1: (lv_numStars_2_0= RULE_INT )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1670:1: (lv_numStars_2_0= RULE_INT )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1671:3: lv_numStars_2_0= RULE_INT
            {
            lv_numStars_2_0=(Token)input.LT(1);
            match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleRatingBar2895); 

            			createLeafNode(grammarAccess.getRatingBarAccess().getNumStarsINTTerminalRuleCall_2_0(), "numStars"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getRatingBarRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"numStars",
            	        		lv_numStars_2_0, 
            	        		"INT", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1693:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1694:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1694:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1695:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getRatingBarAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRatingBar2921);
            lv_layoutStyle_3_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getRatingBarRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_3_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleRatingBar


    // $ANTLR start entryRuleToggleButton
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1725:1: entryRuleToggleButton returns [EObject current=null] : iv_ruleToggleButton= ruleToggleButton EOF ;
    public final EObject entryRuleToggleButton() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleToggleButton = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1726:2: (iv_ruleToggleButton= ruleToggleButton EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1727:2: iv_ruleToggleButton= ruleToggleButton EOF
            {
             currentNode = createCompositeNode(grammarAccess.getToggleButtonRule(), currentNode); 
            pushFollow(FOLLOW_ruleToggleButton_in_entryRuleToggleButton2957);
            iv_ruleToggleButton=ruleToggleButton();
            _fsp--;

             current =iv_ruleToggleButton; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleToggleButton2967); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleToggleButton


    // $ANTLR start ruleToggleButton
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1734:1: ruleToggleButton returns [EObject current=null] : ( 'togglebutton' ( (lv_id_1_0= RULE_ID ) )? 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleToggleButton() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Token lv_textOn_3_0=null;
        Token lv_textOff_5_0=null;
        Enumerator lv_layoutStyle_6_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1739:6: ( ( 'togglebutton' ( (lv_id_1_0= RULE_ID ) )? 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1740:1: ( 'togglebutton' ( (lv_id_1_0= RULE_ID ) )? 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1740:1: ( 'togglebutton' ( (lv_id_1_0= RULE_ID ) )? 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1740:3: 'togglebutton' ( (lv_id_1_0= RULE_ID ) )? 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) )
            {
            match(input,30,FOLLOW_30_in_ruleToggleButton3002); 

                    createLeafNode(grammarAccess.getToggleButtonAccess().getTogglebuttonKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1744:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt25=2;
            int LA25_0 = input.LA(1);

            if ( (LA25_0==RULE_ID) ) {
                alt25=1;
            }
            switch (alt25) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1745:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1745:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1746:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleToggleButton3019); 

                    			createLeafNode(grammarAccess.getToggleButtonAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getToggleButtonRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            match(input,31,FOLLOW_31_in_ruleToggleButton3035); 

                    createLeafNode(grammarAccess.getToggleButtonAccess().getTextOnKeyword_2(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1772:1: ( (lv_textOn_3_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1773:1: (lv_textOn_3_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1773:1: (lv_textOn_3_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1774:3: lv_textOn_3_0= RULE_STRING
            {
            lv_textOn_3_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleToggleButton3052); 

            			createLeafNode(grammarAccess.getToggleButtonAccess().getTextOnSTRINGTerminalRuleCall_3_0(), "textOn"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getToggleButtonRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"textOn",
            	        		lv_textOn_3_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            match(input,32,FOLLOW_32_in_ruleToggleButton3067); 

                    createLeafNode(grammarAccess.getToggleButtonAccess().getTextOffKeyword_4(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1800:1: ( (lv_textOff_5_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1801:1: (lv_textOff_5_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1801:1: (lv_textOff_5_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1802:3: lv_textOff_5_0= RULE_STRING
            {
            lv_textOff_5_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleToggleButton3084); 

            			createLeafNode(grammarAccess.getToggleButtonAccess().getTextOffSTRINGTerminalRuleCall_5_0(), "textOff"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getToggleButtonRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"textOff",
            	        		lv_textOff_5_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1824:2: ( (lv_layoutStyle_6_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1825:1: (lv_layoutStyle_6_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1825:1: (lv_layoutStyle_6_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1826:3: lv_layoutStyle_6_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getToggleButtonAccess().getLayoutStyleLayoutStyleEnumRuleCall_6_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleToggleButton3110);
            lv_layoutStyle_6_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getToggleButtonRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_6_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleToggleButton


    // $ANTLR start entryRuleRadioButton
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1856:1: entryRuleRadioButton returns [EObject current=null] : iv_ruleRadioButton= ruleRadioButton EOF ;
    public final EObject entryRuleRadioButton() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRadioButton = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1857:2: (iv_ruleRadioButton= ruleRadioButton EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1858:2: iv_ruleRadioButton= ruleRadioButton EOF
            {
             currentNode = createCompositeNode(grammarAccess.getRadioButtonRule(), currentNode); 
            pushFollow(FOLLOW_ruleRadioButton_in_entryRuleRadioButton3146);
            iv_ruleRadioButton=ruleRadioButton();
            _fsp--;

             current =iv_ruleRadioButton; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRadioButton3156); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleRadioButton


    // $ANTLR start ruleRadioButton
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1865:1: ruleRadioButton returns [EObject current=null] : ( 'radiobutton' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleRadioButton() throws RecognitionException {
        EObject current = null;

        Token lv_id_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1870:6: ( ( 'radiobutton' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1871:1: ( 'radiobutton' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1871:1: ( 'radiobutton' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1871:3: 'radiobutton' ( (lv_id_1_0= RULE_ID ) )? ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            match(input,33,FOLLOW_33_in_ruleRadioButton3191); 

                    createLeafNode(grammarAccess.getRadioButtonAccess().getRadiobuttonKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1875:1: ( (lv_id_1_0= RULE_ID ) )?
            int alt26=2;
            int LA26_0 = input.LA(1);

            if ( (LA26_0==RULE_ID) ) {
                alt26=1;
            }
            switch (alt26) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1876:1: (lv_id_1_0= RULE_ID )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1876:1: (lv_id_1_0= RULE_ID )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1877:3: lv_id_1_0= RULE_ID
                    {
                    lv_id_1_0=(Token)input.LT(1);
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRadioButton3208); 

                    			createLeafNode(grammarAccess.getRadioButtonAccess().getIdIDTerminalRuleCall_1_0(), "id"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getRadioButtonRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"id",
                    	        		lv_id_1_0, 
                    	        		"ID", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1899:3: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1900:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1900:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1901:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRadioButton3231); 

            			createLeafNode(grammarAccess.getRadioButtonAccess().getTextSTRINGTerminalRuleCall_2_0(), "text"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getRadioButtonRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"text",
            	        		lv_text_2_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1923:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1924:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1924:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1925:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getRadioButtonAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRadioButton3257);
            lv_layoutStyle_3_0=ruleLayoutStyle();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getRadioButtonRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"layoutStyle",
            	        		lv_layoutStyle_3_0, 
            	        		"LayoutStyle", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleRadioButton


    // $ANTLR start entryRulePreferenceKeyAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1955:1: entryRulePreferenceKeyAttribute returns [EObject current=null] : iv_rulePreferenceKeyAttribute= rulePreferenceKeyAttribute EOF ;
    public final EObject entryRulePreferenceKeyAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceKeyAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1956:2: (iv_rulePreferenceKeyAttribute= rulePreferenceKeyAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1957:2: iv_rulePreferenceKeyAttribute= rulePreferenceKeyAttribute EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferenceKeyAttributeRule(), currentNode); 
            pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_entryRulePreferenceKeyAttribute3293);
            iv_rulePreferenceKeyAttribute=rulePreferenceKeyAttribute();
            _fsp--;

             current =iv_rulePreferenceKeyAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceKeyAttribute3303); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreferenceKeyAttribute


    // $ANTLR start rulePreferenceKeyAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1964:1: rulePreferenceKeyAttribute returns [EObject current=null] : ( 'key' ( (lv_value_1_0= RULE_ID ) ) ) ;
    public final EObject rulePreferenceKeyAttribute() throws RecognitionException {
        EObject current = null;

        Token lv_value_1_0=null;

         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1969:6: ( ( 'key' ( (lv_value_1_0= RULE_ID ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1970:1: ( 'key' ( (lv_value_1_0= RULE_ID ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1970:1: ( 'key' ( (lv_value_1_0= RULE_ID ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1970:3: 'key' ( (lv_value_1_0= RULE_ID ) )
            {
            match(input,34,FOLLOW_34_in_rulePreferenceKeyAttribute3338); 

                    createLeafNode(grammarAccess.getPreferenceKeyAttributeAccess().getKeyKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1974:1: ( (lv_value_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1975:1: (lv_value_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1975:1: (lv_value_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:1976:3: lv_value_1_0= RULE_ID
            {
            lv_value_1_0=(Token)input.LT(1);
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePreferenceKeyAttribute3355); 

            			createLeafNode(grammarAccess.getPreferenceKeyAttributeAccess().getValueIDTerminalRuleCall_1_0(), "value"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getPreferenceKeyAttributeRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"value",
            	        		lv_value_1_0, 
            	        		"ID", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreferenceKeyAttribute


    // $ANTLR start entryRulePreferenceSummaryAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2006:1: entryRulePreferenceSummaryAttribute returns [EObject current=null] : iv_rulePreferenceSummaryAttribute= rulePreferenceSummaryAttribute EOF ;
    public final EObject entryRulePreferenceSummaryAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceSummaryAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2007:2: (iv_rulePreferenceSummaryAttribute= rulePreferenceSummaryAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2008:2: iv_rulePreferenceSummaryAttribute= rulePreferenceSummaryAttribute EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferenceSummaryAttributeRule(), currentNode); 
            pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_entryRulePreferenceSummaryAttribute3396);
            iv_rulePreferenceSummaryAttribute=rulePreferenceSummaryAttribute();
            _fsp--;

             current =iv_rulePreferenceSummaryAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceSummaryAttribute3406); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreferenceSummaryAttribute


    // $ANTLR start rulePreferenceSummaryAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2015:1: rulePreferenceSummaryAttribute returns [EObject current=null] : ( 'summary' ( (lv_value_1_0= RULE_STRING ) ) ) ;
    public final EObject rulePreferenceSummaryAttribute() throws RecognitionException {
        EObject current = null;

        Token lv_value_1_0=null;

         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2020:6: ( ( 'summary' ( (lv_value_1_0= RULE_STRING ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2021:1: ( 'summary' ( (lv_value_1_0= RULE_STRING ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2021:1: ( 'summary' ( (lv_value_1_0= RULE_STRING ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2021:3: 'summary' ( (lv_value_1_0= RULE_STRING ) )
            {
            match(input,35,FOLLOW_35_in_rulePreferenceSummaryAttribute3441); 

                    createLeafNode(grammarAccess.getPreferenceSummaryAttributeAccess().getSummaryKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2025:1: ( (lv_value_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2026:1: (lv_value_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2026:1: (lv_value_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2027:3: lv_value_1_0= RULE_STRING
            {
            lv_value_1_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceSummaryAttribute3458); 

            			createLeafNode(grammarAccess.getPreferenceSummaryAttributeAccess().getValueSTRINGTerminalRuleCall_1_0(), "value"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getPreferenceSummaryAttributeRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"value",
            	        		lv_value_1_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreferenceSummaryAttribute


    // $ANTLR start entryRulePreferenceEnabledAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2057:1: entryRulePreferenceEnabledAttribute returns [EObject current=null] : iv_rulePreferenceEnabledAttribute= rulePreferenceEnabledAttribute EOF ;
    public final EObject entryRulePreferenceEnabledAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceEnabledAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2058:2: (iv_rulePreferenceEnabledAttribute= rulePreferenceEnabledAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2059:2: iv_rulePreferenceEnabledAttribute= rulePreferenceEnabledAttribute EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferenceEnabledAttributeRule(), currentNode); 
            pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_entryRulePreferenceEnabledAttribute3499);
            iv_rulePreferenceEnabledAttribute=rulePreferenceEnabledAttribute();
            _fsp--;

             current =iv_rulePreferenceEnabledAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceEnabledAttribute3509); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreferenceEnabledAttribute


    // $ANTLR start rulePreferenceEnabledAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2066:1: rulePreferenceEnabledAttribute returns [EObject current=null] : ( 'enabled' ( (lv_enabled_1_0= ruleBooleanLiteral ) ) ) ;
    public final EObject rulePreferenceEnabledAttribute() throws RecognitionException {
        EObject current = null;

        EObject lv_enabled_1_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2071:6: ( ( 'enabled' ( (lv_enabled_1_0= ruleBooleanLiteral ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2072:1: ( 'enabled' ( (lv_enabled_1_0= ruleBooleanLiteral ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2072:1: ( 'enabled' ( (lv_enabled_1_0= ruleBooleanLiteral ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2072:3: 'enabled' ( (lv_enabled_1_0= ruleBooleanLiteral ) )
            {
            match(input,36,FOLLOW_36_in_rulePreferenceEnabledAttribute3544); 

                    createLeafNode(grammarAccess.getPreferenceEnabledAttributeAccess().getEnabledKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2076:1: ( (lv_enabled_1_0= ruleBooleanLiteral ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2077:1: (lv_enabled_1_0= ruleBooleanLiteral )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2077:1: (lv_enabled_1_0= ruleBooleanLiteral )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2078:3: lv_enabled_1_0= ruleBooleanLiteral
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getPreferenceEnabledAttributeAccess().getEnabledBooleanLiteralParserRuleCall_1_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleBooleanLiteral_in_rulePreferenceEnabledAttribute3565);
            lv_enabled_1_0=ruleBooleanLiteral();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getPreferenceEnabledAttributeRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"enabled",
            	        		lv_enabled_1_0, 
            	        		"BooleanLiteral", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreferenceEnabledAttribute


    // $ANTLR start entryRulePreferencePersistentAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2108:1: entryRulePreferencePersistentAttribute returns [EObject current=null] : iv_rulePreferencePersistentAttribute= rulePreferencePersistentAttribute EOF ;
    public final EObject entryRulePreferencePersistentAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferencePersistentAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2109:2: (iv_rulePreferencePersistentAttribute= rulePreferencePersistentAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2110:2: iv_rulePreferencePersistentAttribute= rulePreferencePersistentAttribute EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferencePersistentAttributeRule(), currentNode); 
            pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_entryRulePreferencePersistentAttribute3601);
            iv_rulePreferencePersistentAttribute=rulePreferencePersistentAttribute();
            _fsp--;

             current =iv_rulePreferencePersistentAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferencePersistentAttribute3611); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreferencePersistentAttribute


    // $ANTLR start rulePreferencePersistentAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2117:1: rulePreferencePersistentAttribute returns [EObject current=null] : ( 'persistent' ( (lv_persistent_1_0= ruleBooleanLiteral ) ) ) ;
    public final EObject rulePreferencePersistentAttribute() throws RecognitionException {
        EObject current = null;

        EObject lv_persistent_1_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2122:6: ( ( 'persistent' ( (lv_persistent_1_0= ruleBooleanLiteral ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2123:1: ( 'persistent' ( (lv_persistent_1_0= ruleBooleanLiteral ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2123:1: ( 'persistent' ( (lv_persistent_1_0= ruleBooleanLiteral ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2123:3: 'persistent' ( (lv_persistent_1_0= ruleBooleanLiteral ) )
            {
            match(input,37,FOLLOW_37_in_rulePreferencePersistentAttribute3646); 

                    createLeafNode(grammarAccess.getPreferencePersistentAttributeAccess().getPersistentKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2127:1: ( (lv_persistent_1_0= ruleBooleanLiteral ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2128:1: (lv_persistent_1_0= ruleBooleanLiteral )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2128:1: (lv_persistent_1_0= ruleBooleanLiteral )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2129:3: lv_persistent_1_0= ruleBooleanLiteral
            {
             
            	        currentNode=createCompositeNode(grammarAccess.getPreferencePersistentAttributeAccess().getPersistentBooleanLiteralParserRuleCall_1_0(), currentNode); 
            	    
            pushFollow(FOLLOW_ruleBooleanLiteral_in_rulePreferencePersistentAttribute3667);
            lv_persistent_1_0=ruleBooleanLiteral();
            _fsp--;


            	        if (current==null) {
            	            current = factory.create(grammarAccess.getPreferencePersistentAttributeRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode.getParent(), current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"persistent",
            	        		lv_persistent_1_0, 
            	        		"BooleanLiteral", 
            	        		currentNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	        currentNode = currentNode.getParent();
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreferencePersistentAttribute


    // $ANTLR start entryRulePreferenceDialogTitleAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2159:1: entryRulePreferenceDialogTitleAttribute returns [EObject current=null] : iv_rulePreferenceDialogTitleAttribute= rulePreferenceDialogTitleAttribute EOF ;
    public final EObject entryRulePreferenceDialogTitleAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceDialogTitleAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2160:2: (iv_rulePreferenceDialogTitleAttribute= rulePreferenceDialogTitleAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2161:2: iv_rulePreferenceDialogTitleAttribute= rulePreferenceDialogTitleAttribute EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferenceDialogTitleAttributeRule(), currentNode); 
            pushFollow(FOLLOW_rulePreferenceDialogTitleAttribute_in_entryRulePreferenceDialogTitleAttribute3703);
            iv_rulePreferenceDialogTitleAttribute=rulePreferenceDialogTitleAttribute();
            _fsp--;

             current =iv_rulePreferenceDialogTitleAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceDialogTitleAttribute3713); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreferenceDialogTitleAttribute


    // $ANTLR start rulePreferenceDialogTitleAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2168:1: rulePreferenceDialogTitleAttribute returns [EObject current=null] : ( 'dialogTitle' ( (lv_value_1_0= RULE_STRING ) ) ) ;
    public final EObject rulePreferenceDialogTitleAttribute() throws RecognitionException {
        EObject current = null;

        Token lv_value_1_0=null;

         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2173:6: ( ( 'dialogTitle' ( (lv_value_1_0= RULE_STRING ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2174:1: ( 'dialogTitle' ( (lv_value_1_0= RULE_STRING ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2174:1: ( 'dialogTitle' ( (lv_value_1_0= RULE_STRING ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2174:3: 'dialogTitle' ( (lv_value_1_0= RULE_STRING ) )
            {
            match(input,38,FOLLOW_38_in_rulePreferenceDialogTitleAttribute3748); 

                    createLeafNode(grammarAccess.getPreferenceDialogTitleAttributeAccess().getDialogTitleKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2178:1: ( (lv_value_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2179:1: (lv_value_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2179:1: (lv_value_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2180:3: lv_value_1_0= RULE_STRING
            {
            lv_value_1_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceDialogTitleAttribute3765); 

            			createLeafNode(grammarAccess.getPreferenceDialogTitleAttributeAccess().getValueSTRINGTerminalRuleCall_1_0(), "value"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getPreferenceDialogTitleAttributeRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"value",
            	        		lv_value_1_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreferenceDialogTitleAttribute


    // $ANTLR start entryRulePreferenceDefaultValueAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2210:1: entryRulePreferenceDefaultValueAttribute returns [EObject current=null] : iv_rulePreferenceDefaultValueAttribute= rulePreferenceDefaultValueAttribute EOF ;
    public final EObject entryRulePreferenceDefaultValueAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceDefaultValueAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2211:2: (iv_rulePreferenceDefaultValueAttribute= rulePreferenceDefaultValueAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2212:2: iv_rulePreferenceDefaultValueAttribute= rulePreferenceDefaultValueAttribute EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferenceDefaultValueAttributeRule(), currentNode); 
            pushFollow(FOLLOW_rulePreferenceDefaultValueAttribute_in_entryRulePreferenceDefaultValueAttribute3806);
            iv_rulePreferenceDefaultValueAttribute=rulePreferenceDefaultValueAttribute();
            _fsp--;

             current =iv_rulePreferenceDefaultValueAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceDefaultValueAttribute3816); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreferenceDefaultValueAttribute


    // $ANTLR start rulePreferenceDefaultValueAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2219:1: rulePreferenceDefaultValueAttribute returns [EObject current=null] : ( 'defaultValue' ( (lv_value_1_0= RULE_STRING ) ) ) ;
    public final EObject rulePreferenceDefaultValueAttribute() throws RecognitionException {
        EObject current = null;

        Token lv_value_1_0=null;

         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2224:6: ( ( 'defaultValue' ( (lv_value_1_0= RULE_STRING ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2225:1: ( 'defaultValue' ( (lv_value_1_0= RULE_STRING ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2225:1: ( 'defaultValue' ( (lv_value_1_0= RULE_STRING ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2225:3: 'defaultValue' ( (lv_value_1_0= RULE_STRING ) )
            {
            match(input,39,FOLLOW_39_in_rulePreferenceDefaultValueAttribute3851); 

                    createLeafNode(grammarAccess.getPreferenceDefaultValueAttributeAccess().getDefaultValueKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2229:1: ( (lv_value_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2230:1: (lv_value_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2230:1: (lv_value_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2231:3: lv_value_1_0= RULE_STRING
            {
            lv_value_1_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceDefaultValueAttribute3868); 

            			createLeafNode(grammarAccess.getPreferenceDefaultValueAttributeAccess().getValueSTRINGTerminalRuleCall_1_0(), "value"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getPreferenceDefaultValueAttributeRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"value",
            	        		lv_value_1_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreferenceDefaultValueAttribute


    // $ANTLR start entryRulePreferenceEntriesAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2261:1: entryRulePreferenceEntriesAttribute returns [EObject current=null] : iv_rulePreferenceEntriesAttribute= rulePreferenceEntriesAttribute EOF ;
    public final EObject entryRulePreferenceEntriesAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceEntriesAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2262:2: (iv_rulePreferenceEntriesAttribute= rulePreferenceEntriesAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2263:2: iv_rulePreferenceEntriesAttribute= rulePreferenceEntriesAttribute EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferenceEntriesAttributeRule(), currentNode); 
            pushFollow(FOLLOW_rulePreferenceEntriesAttribute_in_entryRulePreferenceEntriesAttribute3909);
            iv_rulePreferenceEntriesAttribute=rulePreferenceEntriesAttribute();
            _fsp--;

             current =iv_rulePreferenceEntriesAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceEntriesAttribute3919); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreferenceEntriesAttribute


    // $ANTLR start rulePreferenceEntriesAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2270:1: rulePreferenceEntriesAttribute returns [EObject current=null] : ( 'entries' ( ( RULE_ID ) ) ) ;
    public final EObject rulePreferenceEntriesAttribute() throws RecognitionException {
        EObject current = null;

         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2275:6: ( ( 'entries' ( ( RULE_ID ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2276:1: ( 'entries' ( ( RULE_ID ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2276:1: ( 'entries' ( ( RULE_ID ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2276:3: 'entries' ( ( RULE_ID ) )
            {
            match(input,24,FOLLOW_24_in_rulePreferenceEntriesAttribute3954); 

                    createLeafNode(grammarAccess.getPreferenceEntriesAttributeAccess().getEntriesKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2280:1: ( ( RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2281:1: ( RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2281:1: ( RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2282:3: RULE_ID
            {

            			if (current==null) {
            	            current = factory.create(grammarAccess.getPreferenceEntriesAttributeRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
                    
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePreferenceEntriesAttribute3972); 

            		createLeafNode(grammarAccess.getPreferenceEntriesAttributeAccess().getEntriesStringEntryCrossReference_1_0(), "entries"); 
            	

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreferenceEntriesAttribute


    // $ANTLR start entryRulePreferenceEntryValuesAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2302:1: entryRulePreferenceEntryValuesAttribute returns [EObject current=null] : iv_rulePreferenceEntryValuesAttribute= rulePreferenceEntryValuesAttribute EOF ;
    public final EObject entryRulePreferenceEntryValuesAttribute() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceEntryValuesAttribute = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2303:2: (iv_rulePreferenceEntryValuesAttribute= rulePreferenceEntryValuesAttribute EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2304:2: iv_rulePreferenceEntryValuesAttribute= rulePreferenceEntryValuesAttribute EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferenceEntryValuesAttributeRule(), currentNode); 
            pushFollow(FOLLOW_rulePreferenceEntryValuesAttribute_in_entryRulePreferenceEntryValuesAttribute4008);
            iv_rulePreferenceEntryValuesAttribute=rulePreferenceEntryValuesAttribute();
            _fsp--;

             current =iv_rulePreferenceEntryValuesAttribute; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceEntryValuesAttribute4018); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreferenceEntryValuesAttribute


    // $ANTLR start rulePreferenceEntryValuesAttribute
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2311:1: rulePreferenceEntryValuesAttribute returns [EObject current=null] : ( 'entryValues' ( ( RULE_ID ) ) ) ;
    public final EObject rulePreferenceEntryValuesAttribute() throws RecognitionException {
        EObject current = null;

         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2316:6: ( ( 'entryValues' ( ( RULE_ID ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2317:1: ( 'entryValues' ( ( RULE_ID ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2317:1: ( 'entryValues' ( ( RULE_ID ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2317:3: 'entryValues' ( ( RULE_ID ) )
            {
            match(input,40,FOLLOW_40_in_rulePreferenceEntryValuesAttribute4053); 

                    createLeafNode(grammarAccess.getPreferenceEntryValuesAttributeAccess().getEntryValuesKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2321:1: ( ( RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2322:1: ( RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2322:1: ( RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2323:3: RULE_ID
            {

            			if (current==null) {
            	            current = factory.create(grammarAccess.getPreferenceEntryValuesAttributeRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
                    
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePreferenceEntryValuesAttribute4071); 

            		createLeafNode(grammarAccess.getPreferenceEntryValuesAttributeAccess().getEntryValuesStringEntryCrossReference_1_0(), "entryValues"); 
            	

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreferenceEntryValuesAttribute


    // $ANTLR start entryRulePreference
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2343:1: entryRulePreference returns [EObject current=null] : iv_rulePreference= rulePreference EOF ;
    public final EObject entryRulePreference() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreference = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2344:2: (iv_rulePreference= rulePreference EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2345:2: iv_rulePreference= rulePreference EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferenceRule(), currentNode); 
            pushFollow(FOLLOW_rulePreference_in_entryRulePreference4107);
            iv_rulePreference=rulePreference();
            _fsp--;

             current =iv_rulePreference; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreference4117); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreference


    // $ANTLR start rulePreference
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2352:1: rulePreference returns [EObject current=null] : ( ( 'preference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' ) | this_EditTextPreference_8= ruleEditTextPreference | this_ListPreference_9= ruleListPreference | this_CheckBoxPreference_10= ruleCheckBoxPreference | this_RingtonePrefence_11= ruleRingtonePrefence | this_PreferenceCategory_12= rulePreferenceCategory | this_PreferenceScreen_13= rulePreferenceScreen ) ;
    public final EObject rulePreference() throws RecognitionException {
        EObject current = null;

        Token lv_title_1_0=null;
        EObject lv_key_3_0 = null;

        EObject lv_summary_4_0 = null;

        EObject lv_enabled_5_0 = null;

        EObject lv_persistent_6_0 = null;

        EObject this_EditTextPreference_8 = null;

        EObject this_ListPreference_9 = null;

        EObject this_CheckBoxPreference_10 = null;

        EObject this_RingtonePrefence_11 = null;

        EObject this_PreferenceCategory_12 = null;

        EObject this_PreferenceScreen_13 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2357:6: ( ( ( 'preference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' ) | this_EditTextPreference_8= ruleEditTextPreference | this_ListPreference_9= ruleListPreference | this_CheckBoxPreference_10= ruleCheckBoxPreference | this_RingtonePrefence_11= ruleRingtonePrefence | this_PreferenceCategory_12= rulePreferenceCategory | this_PreferenceScreen_13= rulePreferenceScreen ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2358:1: ( ( 'preference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' ) | this_EditTextPreference_8= ruleEditTextPreference | this_ListPreference_9= ruleListPreference | this_CheckBoxPreference_10= ruleCheckBoxPreference | this_RingtonePrefence_11= ruleRingtonePrefence | this_PreferenceCategory_12= rulePreferenceCategory | this_PreferenceScreen_13= rulePreferenceScreen )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2358:1: ( ( 'preference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' ) | this_EditTextPreference_8= ruleEditTextPreference | this_ListPreference_9= ruleListPreference | this_CheckBoxPreference_10= ruleCheckBoxPreference | this_RingtonePrefence_11= ruleRingtonePrefence | this_PreferenceCategory_12= rulePreferenceCategory | this_PreferenceScreen_13= rulePreferenceScreen )
            int alt31=7;
            switch ( input.LA(1) ) {
            case 41:
                {
                alt31=1;
                }
                break;
            case 44:
                {
                alt31=2;
                }
                break;
            case 45:
                {
                alt31=3;
                }
                break;
            case 46:
                {
                alt31=4;
                }
                break;
            case 47:
                {
                alt31=5;
                }
                break;
            case 43:
                {
                alt31=6;
                }
                break;
            case 42:
                {
                alt31=7;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("2358:1: ( ( 'preference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' ) | this_EditTextPreference_8= ruleEditTextPreference | this_ListPreference_9= ruleListPreference | this_CheckBoxPreference_10= ruleCheckBoxPreference | this_RingtonePrefence_11= ruleRingtonePrefence | this_PreferenceCategory_12= rulePreferenceCategory | this_PreferenceScreen_13= rulePreferenceScreen )", 31, 0, input);

                throw nvae;
            }

            switch (alt31) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2358:2: ( 'preference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2358:2: ( 'preference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2358:4: 'preference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}'
                    {
                    match(input,41,FOLLOW_41_in_rulePreference4153); 

                            createLeafNode(grammarAccess.getPreferenceAccess().getPreferenceKeyword_0_0(), null); 
                        
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2362:1: ( (lv_title_1_0= RULE_STRING ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2363:1: (lv_title_1_0= RULE_STRING )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2363:1: (lv_title_1_0= RULE_STRING )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2364:3: lv_title_1_0= RULE_STRING
                    {
                    lv_title_1_0=(Token)input.LT(1);
                    match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreference4170); 

                    			createLeafNode(grammarAccess.getPreferenceAccess().getTitleSTRINGTerminalRuleCall_0_1_0(), "title"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"title",
                    	        		lv_title_1_0, 
                    	        		"STRING", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }

                    match(input,13,FOLLOW_13_in_rulePreference4185); 

                            createLeafNode(grammarAccess.getPreferenceAccess().getLeftCurlyBracketKeyword_0_2(), null); 
                        
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2390:1: ( (lv_key_3_0= rulePreferenceKeyAttribute ) )?
                    int alt27=2;
                    int LA27_0 = input.LA(1);

                    if ( (LA27_0==34) ) {
                        alt27=1;
                    }
                    switch (alt27) {
                        case 1 :
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2391:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                            {
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2391:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2392:3: lv_key_3_0= rulePreferenceKeyAttribute
                            {
                             
                            	        currentNode=createCompositeNode(grammarAccess.getPreferenceAccess().getKeyPreferenceKeyAttributeParserRuleCall_0_3_0(), currentNode); 
                            	    
                            pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_rulePreference4206);
                            lv_key_3_0=rulePreferenceKeyAttribute();
                            _fsp--;


                            	        if (current==null) {
                            	            current = factory.create(grammarAccess.getPreferenceRule().getType().getClassifier());
                            	            associateNodeWithAstElement(currentNode.getParent(), current);
                            	        }
                            	        try {
                            	       		set(
                            	       			current, 
                            	       			"key",
                            	        		lv_key_3_0, 
                            	        		"PreferenceKeyAttribute", 
                            	        		currentNode);
                            	        } catch (ValueConverterException vce) {
                            				handleValueConverterException(vce);
                            	        }
                            	        currentNode = currentNode.getParent();
                            	    

                            }


                            }
                            break;

                    }

                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2414:3: ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )?
                    int alt28=2;
                    int LA28_0 = input.LA(1);

                    if ( (LA28_0==35) ) {
                        alt28=1;
                    }
                    switch (alt28) {
                        case 1 :
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2415:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                            {
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2415:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2416:3: lv_summary_4_0= rulePreferenceSummaryAttribute
                            {
                             
                            	        currentNode=createCompositeNode(grammarAccess.getPreferenceAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_0_4_0(), currentNode); 
                            	    
                            pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_rulePreference4228);
                            lv_summary_4_0=rulePreferenceSummaryAttribute();
                            _fsp--;


                            	        if (current==null) {
                            	            current = factory.create(grammarAccess.getPreferenceRule().getType().getClassifier());
                            	            associateNodeWithAstElement(currentNode.getParent(), current);
                            	        }
                            	        try {
                            	       		set(
                            	       			current, 
                            	       			"summary",
                            	        		lv_summary_4_0, 
                            	        		"PreferenceSummaryAttribute", 
                            	        		currentNode);
                            	        } catch (ValueConverterException vce) {
                            				handleValueConverterException(vce);
                            	        }
                            	        currentNode = currentNode.getParent();
                            	    

                            }


                            }
                            break;

                    }

                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2438:3: ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )?
                    int alt29=2;
                    int LA29_0 = input.LA(1);

                    if ( (LA29_0==36) ) {
                        alt29=1;
                    }
                    switch (alt29) {
                        case 1 :
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2439:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                            {
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2439:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2440:3: lv_enabled_5_0= rulePreferenceEnabledAttribute
                            {
                             
                            	        currentNode=createCompositeNode(grammarAccess.getPreferenceAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_0_5_0(), currentNode); 
                            	    
                            pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_rulePreference4250);
                            lv_enabled_5_0=rulePreferenceEnabledAttribute();
                            _fsp--;


                            	        if (current==null) {
                            	            current = factory.create(grammarAccess.getPreferenceRule().getType().getClassifier());
                            	            associateNodeWithAstElement(currentNode.getParent(), current);
                            	        }
                            	        try {
                            	       		set(
                            	       			current, 
                            	       			"enabled",
                            	        		lv_enabled_5_0, 
                            	        		"PreferenceEnabledAttribute", 
                            	        		currentNode);
                            	        } catch (ValueConverterException vce) {
                            				handleValueConverterException(vce);
                            	        }
                            	        currentNode = currentNode.getParent();
                            	    

                            }


                            }
                            break;

                    }

                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2462:3: ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )?
                    int alt30=2;
                    int LA30_0 = input.LA(1);

                    if ( (LA30_0==37) ) {
                        alt30=1;
                    }
                    switch (alt30) {
                        case 1 :
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2463:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                            {
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2463:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2464:3: lv_persistent_6_0= rulePreferencePersistentAttribute
                            {
                             
                            	        currentNode=createCompositeNode(grammarAccess.getPreferenceAccess().getPersistentPreferencePersistentAttributeParserRuleCall_0_6_0(), currentNode); 
                            	    
                            pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_rulePreference4272);
                            lv_persistent_6_0=rulePreferencePersistentAttribute();
                            _fsp--;


                            	        if (current==null) {
                            	            current = factory.create(grammarAccess.getPreferenceRule().getType().getClassifier());
                            	            associateNodeWithAstElement(currentNode.getParent(), current);
                            	        }
                            	        try {
                            	       		set(
                            	       			current, 
                            	       			"persistent",
                            	        		lv_persistent_6_0, 
                            	        		"PreferencePersistentAttribute", 
                            	        		currentNode);
                            	        } catch (ValueConverterException vce) {
                            				handleValueConverterException(vce);
                            	        }
                            	        currentNode = currentNode.getParent();
                            	    

                            }


                            }
                            break;

                    }

                    match(input,14,FOLLOW_14_in_rulePreference4283); 

                            createLeafNode(grammarAccess.getPreferenceAccess().getRightCurlyBracketKeyword_0_7(), null); 
                        

                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2492:5: this_EditTextPreference_8= ruleEditTextPreference
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getPreferenceAccess().getEditTextPreferenceParserRuleCall_1(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleEditTextPreference_in_rulePreference4312);
                    this_EditTextPreference_8=ruleEditTextPreference();
                    _fsp--;

                     
                            current = this_EditTextPreference_8; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2502:5: this_ListPreference_9= ruleListPreference
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getPreferenceAccess().getListPreferenceParserRuleCall_2(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleListPreference_in_rulePreference4339);
                    this_ListPreference_9=ruleListPreference();
                    _fsp--;

                     
                            current = this_ListPreference_9; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2512:5: this_CheckBoxPreference_10= ruleCheckBoxPreference
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getPreferenceAccess().getCheckBoxPreferenceParserRuleCall_3(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleCheckBoxPreference_in_rulePreference4366);
                    this_CheckBoxPreference_10=ruleCheckBoxPreference();
                    _fsp--;

                     
                            current = this_CheckBoxPreference_10; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 5 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2522:5: this_RingtonePrefence_11= ruleRingtonePrefence
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getPreferenceAccess().getRingtonePrefenceParserRuleCall_4(), currentNode); 
                        
                    pushFollow(FOLLOW_ruleRingtonePrefence_in_rulePreference4393);
                    this_RingtonePrefence_11=ruleRingtonePrefence();
                    _fsp--;

                     
                            current = this_RingtonePrefence_11; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 6 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2532:5: this_PreferenceCategory_12= rulePreferenceCategory
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getPreferenceAccess().getPreferenceCategoryParserRuleCall_5(), currentNode); 
                        
                    pushFollow(FOLLOW_rulePreferenceCategory_in_rulePreference4420);
                    this_PreferenceCategory_12=rulePreferenceCategory();
                    _fsp--;

                     
                            current = this_PreferenceCategory_12; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;
                case 7 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2542:5: this_PreferenceScreen_13= rulePreferenceScreen
                    {
                     
                            currentNode=createCompositeNode(grammarAccess.getPreferenceAccess().getPreferenceScreenParserRuleCall_6(), currentNode); 
                        
                    pushFollow(FOLLOW_rulePreferenceScreen_in_rulePreference4447);
                    this_PreferenceScreen_13=rulePreferenceScreen();
                    _fsp--;

                     
                            current = this_PreferenceScreen_13; 
                            currentNode = currentNode.getParent();
                        

                    }
                    break;

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreference


    // $ANTLR start entryRulePreferenceScreen
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2558:1: entryRulePreferenceScreen returns [EObject current=null] : iv_rulePreferenceScreen= rulePreferenceScreen EOF ;
    public final EObject entryRulePreferenceScreen() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceScreen = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2559:2: (iv_rulePreferenceScreen= rulePreferenceScreen EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2560:2: iv_rulePreferenceScreen= rulePreferenceScreen EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferenceScreenRule(), currentNode); 
            pushFollow(FOLLOW_rulePreferenceScreen_in_entryRulePreferenceScreen4482);
            iv_rulePreferenceScreen=rulePreferenceScreen();
            _fsp--;

             current =iv_rulePreferenceScreen; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceScreen4492); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreferenceScreen


    // $ANTLR start rulePreferenceScreen
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2567:1: rulePreferenceScreen returns [EObject current=null] : ( () 'preferencescreen' ( (lv_title_2_0= RULE_STRING ) )? '{' ( (lv_key_4_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )? ( (lv_preferences_8_0= rulePreference ) )* '}' ) ;
    public final EObject rulePreferenceScreen() throws RecognitionException {
        EObject current = null;

        Token lv_title_2_0=null;
        EObject lv_key_4_0 = null;

        EObject lv_summary_5_0 = null;

        EObject lv_enabled_6_0 = null;

        EObject lv_persistent_7_0 = null;

        EObject lv_preferences_8_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2572:6: ( ( () 'preferencescreen' ( (lv_title_2_0= RULE_STRING ) )? '{' ( (lv_key_4_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )? ( (lv_preferences_8_0= rulePreference ) )* '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2573:1: ( () 'preferencescreen' ( (lv_title_2_0= RULE_STRING ) )? '{' ( (lv_key_4_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )? ( (lv_preferences_8_0= rulePreference ) )* '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2573:1: ( () 'preferencescreen' ( (lv_title_2_0= RULE_STRING ) )? '{' ( (lv_key_4_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )? ( (lv_preferences_8_0= rulePreference ) )* '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2573:2: () 'preferencescreen' ( (lv_title_2_0= RULE_STRING ) )? '{' ( (lv_key_4_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )? ( (lv_preferences_8_0= rulePreference ) )* '}'
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2573:2: ()
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2574:5: 
            {
             
                    temp=factory.create(grammarAccess.getPreferenceScreenAccess().getPreferenceScreenAction_0().getType().getClassifier());
                    current = temp; 
                    temp = null;
                    CompositeNode newNode = createCompositeNode(grammarAccess.getPreferenceScreenAccess().getPreferenceScreenAction_0(), currentNode.getParent());
                newNode.getChildren().add(currentNode);
                moveLookaheadInfo(currentNode, newNode);
                currentNode = newNode; 
                    associateNodeWithAstElement(currentNode, current); 
                

            }

            match(input,42,FOLLOW_42_in_rulePreferenceScreen4536); 

                    createLeafNode(grammarAccess.getPreferenceScreenAccess().getPreferencescreenKeyword_1(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2588:1: ( (lv_title_2_0= RULE_STRING ) )?
            int alt32=2;
            int LA32_0 = input.LA(1);

            if ( (LA32_0==RULE_STRING) ) {
                alt32=1;
            }
            switch (alt32) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2589:1: (lv_title_2_0= RULE_STRING )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2589:1: (lv_title_2_0= RULE_STRING )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2590:3: lv_title_2_0= RULE_STRING
                    {
                    lv_title_2_0=(Token)input.LT(1);
                    match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceScreen4553); 

                    			createLeafNode(grammarAccess.getPreferenceScreenAccess().getTitleSTRINGTerminalRuleCall_2_0(), "title"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getPreferenceScreenRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"title",
                    	        		lv_title_2_0, 
                    	        		"STRING", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }
                    break;

            }

            match(input,13,FOLLOW_13_in_rulePreferenceScreen4569); 

                    createLeafNode(grammarAccess.getPreferenceScreenAccess().getLeftCurlyBracketKeyword_3(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2616:1: ( (lv_key_4_0= rulePreferenceKeyAttribute ) )?
            int alt33=2;
            int LA33_0 = input.LA(1);

            if ( (LA33_0==34) ) {
                alt33=1;
            }
            switch (alt33) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2617:1: (lv_key_4_0= rulePreferenceKeyAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2617:1: (lv_key_4_0= rulePreferenceKeyAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2618:3: lv_key_4_0= rulePreferenceKeyAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getPreferenceScreenAccess().getKeyPreferenceKeyAttributeParserRuleCall_4_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_rulePreferenceScreen4590);
                    lv_key_4_0=rulePreferenceKeyAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getPreferenceScreenRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"key",
                    	        		lv_key_4_0, 
                    	        		"PreferenceKeyAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2640:3: ( (lv_summary_5_0= rulePreferenceSummaryAttribute ) )?
            int alt34=2;
            int LA34_0 = input.LA(1);

            if ( (LA34_0==35) ) {
                alt34=1;
            }
            switch (alt34) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2641:1: (lv_summary_5_0= rulePreferenceSummaryAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2641:1: (lv_summary_5_0= rulePreferenceSummaryAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2642:3: lv_summary_5_0= rulePreferenceSummaryAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getPreferenceScreenAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_5_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_rulePreferenceScreen4612);
                    lv_summary_5_0=rulePreferenceSummaryAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getPreferenceScreenRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"summary",
                    	        		lv_summary_5_0, 
                    	        		"PreferenceSummaryAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2664:3: ( (lv_enabled_6_0= rulePreferenceEnabledAttribute ) )?
            int alt35=2;
            int LA35_0 = input.LA(1);

            if ( (LA35_0==36) ) {
                alt35=1;
            }
            switch (alt35) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2665:1: (lv_enabled_6_0= rulePreferenceEnabledAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2665:1: (lv_enabled_6_0= rulePreferenceEnabledAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2666:3: lv_enabled_6_0= rulePreferenceEnabledAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getPreferenceScreenAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_6_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_rulePreferenceScreen4634);
                    lv_enabled_6_0=rulePreferenceEnabledAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getPreferenceScreenRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"enabled",
                    	        		lv_enabled_6_0, 
                    	        		"PreferenceEnabledAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2688:3: ( (lv_persistent_7_0= rulePreferencePersistentAttribute ) )?
            int alt36=2;
            int LA36_0 = input.LA(1);

            if ( (LA36_0==37) ) {
                alt36=1;
            }
            switch (alt36) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2689:1: (lv_persistent_7_0= rulePreferencePersistentAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2689:1: (lv_persistent_7_0= rulePreferencePersistentAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2690:3: lv_persistent_7_0= rulePreferencePersistentAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getPreferenceScreenAccess().getPersistentPreferencePersistentAttributeParserRuleCall_7_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_rulePreferenceScreen4656);
                    lv_persistent_7_0=rulePreferencePersistentAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getPreferenceScreenRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"persistent",
                    	        		lv_persistent_7_0, 
                    	        		"PreferencePersistentAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2712:3: ( (lv_preferences_8_0= rulePreference ) )*
            loop37:
            do {
                int alt37=2;
                int LA37_0 = input.LA(1);

                if ( ((LA37_0>=41 && LA37_0<=47)) ) {
                    alt37=1;
                }


                switch (alt37) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2713:1: (lv_preferences_8_0= rulePreference )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2713:1: (lv_preferences_8_0= rulePreference )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2714:3: lv_preferences_8_0= rulePreference
            	    {
            	     
            	    	        currentNode=createCompositeNode(grammarAccess.getPreferenceScreenAccess().getPreferencesPreferenceParserRuleCall_8_0(), currentNode); 
            	    	    
            	    pushFollow(FOLLOW_rulePreference_in_rulePreferenceScreen4678);
            	    lv_preferences_8_0=rulePreference();
            	    _fsp--;


            	    	        if (current==null) {
            	    	            current = factory.create(grammarAccess.getPreferenceScreenRule().getType().getClassifier());
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
            	    	        }
            	    	        try {
            	    	       		add(
            	    	       			current, 
            	    	       			"preferences",
            	    	        		lv_preferences_8_0, 
            	    	        		"Preference", 
            	    	        		currentNode);
            	    	        } catch (ValueConverterException vce) {
            	    				handleValueConverterException(vce);
            	    	        }
            	    	        currentNode = currentNode.getParent();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop37;
                }
            } while (true);

            match(input,14,FOLLOW_14_in_rulePreferenceScreen4689); 

                    createLeafNode(grammarAccess.getPreferenceScreenAccess().getRightCurlyBracketKeyword_9(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreferenceScreen


    // $ANTLR start entryRulePreferenceCategory
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2748:1: entryRulePreferenceCategory returns [EObject current=null] : iv_rulePreferenceCategory= rulePreferenceCategory EOF ;
    public final EObject entryRulePreferenceCategory() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceCategory = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2749:2: (iv_rulePreferenceCategory= rulePreferenceCategory EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2750:2: iv_rulePreferenceCategory= rulePreferenceCategory EOF
            {
             currentNode = createCompositeNode(grammarAccess.getPreferenceCategoryRule(), currentNode); 
            pushFollow(FOLLOW_rulePreferenceCategory_in_entryRulePreferenceCategory4725);
            iv_rulePreferenceCategory=rulePreferenceCategory();
            _fsp--;

             current =iv_rulePreferenceCategory; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceCategory4735); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRulePreferenceCategory


    // $ANTLR start rulePreferenceCategory
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2757:1: rulePreferenceCategory returns [EObject current=null] : ( 'preferencecategery' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_preferences_3_0= rulePreference ) )* '}' ) ;
    public final EObject rulePreferenceCategory() throws RecognitionException {
        EObject current = null;

        Token lv_title_1_0=null;
        EObject lv_preferences_3_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2762:6: ( ( 'preferencecategery' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_preferences_3_0= rulePreference ) )* '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2763:1: ( 'preferencecategery' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_preferences_3_0= rulePreference ) )* '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2763:1: ( 'preferencecategery' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_preferences_3_0= rulePreference ) )* '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2763:3: 'preferencecategery' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_preferences_3_0= rulePreference ) )* '}'
            {
            match(input,43,FOLLOW_43_in_rulePreferenceCategory4770); 

                    createLeafNode(grammarAccess.getPreferenceCategoryAccess().getPreferencecategeryKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2767:1: ( (lv_title_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2768:1: (lv_title_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2768:1: (lv_title_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2769:3: lv_title_1_0= RULE_STRING
            {
            lv_title_1_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceCategory4787); 

            			createLeafNode(grammarAccess.getPreferenceCategoryAccess().getTitleSTRINGTerminalRuleCall_1_0(), "title"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getPreferenceCategoryRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"title",
            	        		lv_title_1_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            match(input,13,FOLLOW_13_in_rulePreferenceCategory4802); 

                    createLeafNode(grammarAccess.getPreferenceCategoryAccess().getLeftCurlyBracketKeyword_2(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2795:1: ( (lv_preferences_3_0= rulePreference ) )*
            loop38:
            do {
                int alt38=2;
                int LA38_0 = input.LA(1);

                if ( ((LA38_0>=41 && LA38_0<=47)) ) {
                    alt38=1;
                }


                switch (alt38) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2796:1: (lv_preferences_3_0= rulePreference )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2796:1: (lv_preferences_3_0= rulePreference )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2797:3: lv_preferences_3_0= rulePreference
            	    {
            	     
            	    	        currentNode=createCompositeNode(grammarAccess.getPreferenceCategoryAccess().getPreferencesPreferenceParserRuleCall_3_0(), currentNode); 
            	    	    
            	    pushFollow(FOLLOW_rulePreference_in_rulePreferenceCategory4823);
            	    lv_preferences_3_0=rulePreference();
            	    _fsp--;


            	    	        if (current==null) {
            	    	            current = factory.create(grammarAccess.getPreferenceCategoryRule().getType().getClassifier());
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
            	    	        }
            	    	        try {
            	    	       		add(
            	    	       			current, 
            	    	       			"preferences",
            	    	        		lv_preferences_3_0, 
            	    	        		"Preference", 
            	    	        		currentNode);
            	    	        } catch (ValueConverterException vce) {
            	    				handleValueConverterException(vce);
            	    	        }
            	    	        currentNode = currentNode.getParent();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop38;
                }
            } while (true);

            match(input,14,FOLLOW_14_in_rulePreferenceCategory4834); 

                    createLeafNode(grammarAccess.getPreferenceCategoryAccess().getRightCurlyBracketKeyword_4(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end rulePreferenceCategory


    // $ANTLR start entryRuleEditTextPreference
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2831:1: entryRuleEditTextPreference returns [EObject current=null] : iv_ruleEditTextPreference= ruleEditTextPreference EOF ;
    public final EObject entryRuleEditTextPreference() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleEditTextPreference = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2832:2: (iv_ruleEditTextPreference= ruleEditTextPreference EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2833:2: iv_ruleEditTextPreference= ruleEditTextPreference EOF
            {
             currentNode = createCompositeNode(grammarAccess.getEditTextPreferenceRule(), currentNode); 
            pushFollow(FOLLOW_ruleEditTextPreference_in_entryRuleEditTextPreference4870);
            iv_ruleEditTextPreference=ruleEditTextPreference();
            _fsp--;

             current =iv_ruleEditTextPreference; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleEditTextPreference4880); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleEditTextPreference


    // $ANTLR start ruleEditTextPreference
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2840:1: ruleEditTextPreference returns [EObject current=null] : ( 'edittextpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? '}' ) ;
    public final EObject ruleEditTextPreference() throws RecognitionException {
        EObject current = null;

        Token lv_title_1_0=null;
        EObject lv_key_3_0 = null;

        EObject lv_summary_4_0 = null;

        EObject lv_enabled_5_0 = null;

        EObject lv_persistent_6_0 = null;

        EObject lv_dialogTitle_7_0 = null;

        EObject lv_defaultValue_8_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2845:6: ( ( 'edittextpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2846:1: ( 'edittextpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2846:1: ( 'edittextpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2846:3: 'edittextpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? '}'
            {
            match(input,44,FOLLOW_44_in_ruleEditTextPreference4915); 

                    createLeafNode(grammarAccess.getEditTextPreferenceAccess().getEdittextpreferenceKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2850:1: ( (lv_title_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2851:1: (lv_title_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2851:1: (lv_title_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2852:3: lv_title_1_0= RULE_STRING
            {
            lv_title_1_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEditTextPreference4932); 

            			createLeafNode(grammarAccess.getEditTextPreferenceAccess().getTitleSTRINGTerminalRuleCall_1_0(), "title"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getEditTextPreferenceRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"title",
            	        		lv_title_1_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleEditTextPreference4947); 

                    createLeafNode(grammarAccess.getEditTextPreferenceAccess().getLeftCurlyBracketKeyword_2(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2878:1: ( (lv_key_3_0= rulePreferenceKeyAttribute ) )?
            int alt39=2;
            int LA39_0 = input.LA(1);

            if ( (LA39_0==34) ) {
                alt39=1;
            }
            switch (alt39) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2879:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2879:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2880:3: lv_key_3_0= rulePreferenceKeyAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getEditTextPreferenceAccess().getKeyPreferenceKeyAttributeParserRuleCall_3_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_ruleEditTextPreference4968);
                    lv_key_3_0=rulePreferenceKeyAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getEditTextPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"key",
                    	        		lv_key_3_0, 
                    	        		"PreferenceKeyAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2902:3: ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )?
            int alt40=2;
            int LA40_0 = input.LA(1);

            if ( (LA40_0==35) ) {
                alt40=1;
            }
            switch (alt40) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2903:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2903:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2904:3: lv_summary_4_0= rulePreferenceSummaryAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getEditTextPreferenceAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_4_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_ruleEditTextPreference4990);
                    lv_summary_4_0=rulePreferenceSummaryAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getEditTextPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"summary",
                    	        		lv_summary_4_0, 
                    	        		"PreferenceSummaryAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2926:3: ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )?
            int alt41=2;
            int LA41_0 = input.LA(1);

            if ( (LA41_0==36) ) {
                alt41=1;
            }
            switch (alt41) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2927:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2927:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2928:3: lv_enabled_5_0= rulePreferenceEnabledAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getEditTextPreferenceAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_5_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_ruleEditTextPreference5012);
                    lv_enabled_5_0=rulePreferenceEnabledAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getEditTextPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"enabled",
                    	        		lv_enabled_5_0, 
                    	        		"PreferenceEnabledAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2950:3: ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )?
            int alt42=2;
            int LA42_0 = input.LA(1);

            if ( (LA42_0==37) ) {
                alt42=1;
            }
            switch (alt42) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2951:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2951:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2952:3: lv_persistent_6_0= rulePreferencePersistentAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getEditTextPreferenceAccess().getPersistentPreferencePersistentAttributeParserRuleCall_6_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_ruleEditTextPreference5034);
                    lv_persistent_6_0=rulePreferencePersistentAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getEditTextPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"persistent",
                    	        		lv_persistent_6_0, 
                    	        		"PreferencePersistentAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2974:3: ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )?
            int alt43=2;
            int LA43_0 = input.LA(1);

            if ( (LA43_0==38) ) {
                alt43=1;
            }
            switch (alt43) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2975:1: (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2975:1: (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2976:3: lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getEditTextPreferenceAccess().getDialogTitlePreferenceDialogTitleAttributeParserRuleCall_7_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceDialogTitleAttribute_in_ruleEditTextPreference5056);
                    lv_dialogTitle_7_0=rulePreferenceDialogTitleAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getEditTextPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"dialogTitle",
                    	        		lv_dialogTitle_7_0, 
                    	        		"PreferenceDialogTitleAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2998:3: ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )?
            int alt44=2;
            int LA44_0 = input.LA(1);

            if ( (LA44_0==39) ) {
                alt44=1;
            }
            switch (alt44) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2999:1: (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:2999:1: (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3000:3: lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getEditTextPreferenceAccess().getDefaultValuePreferenceDefaultValueAttributeParserRuleCall_8_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceDefaultValueAttribute_in_ruleEditTextPreference5078);
                    lv_defaultValue_8_0=rulePreferenceDefaultValueAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getEditTextPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"defaultValue",
                    	        		lv_defaultValue_8_0, 
                    	        		"PreferenceDefaultValueAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            match(input,14,FOLLOW_14_in_ruleEditTextPreference5089); 

                    createLeafNode(grammarAccess.getEditTextPreferenceAccess().getRightCurlyBracketKeyword_9(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleEditTextPreference


    // $ANTLR start entryRuleListPreference
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3034:1: entryRuleListPreference returns [EObject current=null] : iv_ruleListPreference= ruleListPreference EOF ;
    public final EObject entryRuleListPreference() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleListPreference = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3035:2: (iv_ruleListPreference= ruleListPreference EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3036:2: iv_ruleListPreference= ruleListPreference EOF
            {
             currentNode = createCompositeNode(grammarAccess.getListPreferenceRule(), currentNode); 
            pushFollow(FOLLOW_ruleListPreference_in_entryRuleListPreference5125);
            iv_ruleListPreference=ruleListPreference();
            _fsp--;

             current =iv_ruleListPreference; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleListPreference5135); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleListPreference


    // $ANTLR start ruleListPreference
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3043:1: ruleListPreference returns [EObject current=null] : ( 'listpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )? ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )? '}' ) ;
    public final EObject ruleListPreference() throws RecognitionException {
        EObject current = null;

        Token lv_title_1_0=null;
        EObject lv_key_3_0 = null;

        EObject lv_summary_4_0 = null;

        EObject lv_enabled_5_0 = null;

        EObject lv_persistent_6_0 = null;

        EObject lv_dialogTitle_7_0 = null;

        EObject lv_defaultValue_8_0 = null;

        EObject lv_entries_9_0 = null;

        EObject lv_entryValues_10_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3048:6: ( ( 'listpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )? ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )? '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3049:1: ( 'listpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )? ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )? '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3049:1: ( 'listpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )? ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )? '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3049:3: 'listpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )? ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )? ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )? ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )? '}'
            {
            match(input,45,FOLLOW_45_in_ruleListPreference5170); 

                    createLeafNode(grammarAccess.getListPreferenceAccess().getListpreferenceKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3053:1: ( (lv_title_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3054:1: (lv_title_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3054:1: (lv_title_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3055:3: lv_title_1_0= RULE_STRING
            {
            lv_title_1_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleListPreference5187); 

            			createLeafNode(grammarAccess.getListPreferenceAccess().getTitleSTRINGTerminalRuleCall_1_0(), "title"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getListPreferenceRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"title",
            	        		lv_title_1_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleListPreference5202); 

                    createLeafNode(grammarAccess.getListPreferenceAccess().getLeftCurlyBracketKeyword_2(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3081:1: ( (lv_key_3_0= rulePreferenceKeyAttribute ) )?
            int alt45=2;
            int LA45_0 = input.LA(1);

            if ( (LA45_0==34) ) {
                alt45=1;
            }
            switch (alt45) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3082:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3082:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3083:3: lv_key_3_0= rulePreferenceKeyAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getListPreferenceAccess().getKeyPreferenceKeyAttributeParserRuleCall_3_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_ruleListPreference5223);
                    lv_key_3_0=rulePreferenceKeyAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getListPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"key",
                    	        		lv_key_3_0, 
                    	        		"PreferenceKeyAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3105:3: ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )?
            int alt46=2;
            int LA46_0 = input.LA(1);

            if ( (LA46_0==35) ) {
                alt46=1;
            }
            switch (alt46) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3106:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3106:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3107:3: lv_summary_4_0= rulePreferenceSummaryAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getListPreferenceAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_4_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_ruleListPreference5245);
                    lv_summary_4_0=rulePreferenceSummaryAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getListPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"summary",
                    	        		lv_summary_4_0, 
                    	        		"PreferenceSummaryAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3129:3: ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )?
            int alt47=2;
            int LA47_0 = input.LA(1);

            if ( (LA47_0==36) ) {
                alt47=1;
            }
            switch (alt47) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3130:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3130:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3131:3: lv_enabled_5_0= rulePreferenceEnabledAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getListPreferenceAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_5_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_ruleListPreference5267);
                    lv_enabled_5_0=rulePreferenceEnabledAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getListPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"enabled",
                    	        		lv_enabled_5_0, 
                    	        		"PreferenceEnabledAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3153:3: ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )?
            int alt48=2;
            int LA48_0 = input.LA(1);

            if ( (LA48_0==37) ) {
                alt48=1;
            }
            switch (alt48) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3154:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3154:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3155:3: lv_persistent_6_0= rulePreferencePersistentAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getListPreferenceAccess().getPersistentPreferencePersistentAttributeParserRuleCall_6_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_ruleListPreference5289);
                    lv_persistent_6_0=rulePreferencePersistentAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getListPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"persistent",
                    	        		lv_persistent_6_0, 
                    	        		"PreferencePersistentAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3177:3: ( (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute ) )?
            int alt49=2;
            int LA49_0 = input.LA(1);

            if ( (LA49_0==38) ) {
                alt49=1;
            }
            switch (alt49) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3178:1: (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3178:1: (lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3179:3: lv_dialogTitle_7_0= rulePreferenceDialogTitleAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getListPreferenceAccess().getDialogTitlePreferenceDialogTitleAttributeParserRuleCall_7_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceDialogTitleAttribute_in_ruleListPreference5311);
                    lv_dialogTitle_7_0=rulePreferenceDialogTitleAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getListPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"dialogTitle",
                    	        		lv_dialogTitle_7_0, 
                    	        		"PreferenceDialogTitleAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3201:3: ( (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute ) )?
            int alt50=2;
            int LA50_0 = input.LA(1);

            if ( (LA50_0==39) ) {
                alt50=1;
            }
            switch (alt50) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3202:1: (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3202:1: (lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3203:3: lv_defaultValue_8_0= rulePreferenceDefaultValueAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getListPreferenceAccess().getDefaultValuePreferenceDefaultValueAttributeParserRuleCall_8_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceDefaultValueAttribute_in_ruleListPreference5333);
                    lv_defaultValue_8_0=rulePreferenceDefaultValueAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getListPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"defaultValue",
                    	        		lv_defaultValue_8_0, 
                    	        		"PreferenceDefaultValueAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3225:3: ( (lv_entries_9_0= rulePreferenceEntriesAttribute ) )?
            int alt51=2;
            int LA51_0 = input.LA(1);

            if ( (LA51_0==24) ) {
                alt51=1;
            }
            switch (alt51) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3226:1: (lv_entries_9_0= rulePreferenceEntriesAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3226:1: (lv_entries_9_0= rulePreferenceEntriesAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3227:3: lv_entries_9_0= rulePreferenceEntriesAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getListPreferenceAccess().getEntriesPreferenceEntriesAttributeParserRuleCall_9_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEntriesAttribute_in_ruleListPreference5355);
                    lv_entries_9_0=rulePreferenceEntriesAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getListPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"entries",
                    	        		lv_entries_9_0, 
                    	        		"PreferenceEntriesAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3249:3: ( (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute ) )?
            int alt52=2;
            int LA52_0 = input.LA(1);

            if ( (LA52_0==40) ) {
                alt52=1;
            }
            switch (alt52) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3250:1: (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3250:1: (lv_entryValues_10_0= rulePreferenceEntryValuesAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3251:3: lv_entryValues_10_0= rulePreferenceEntryValuesAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getListPreferenceAccess().getEntryValuesPreferenceEntryValuesAttributeParserRuleCall_10_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEntryValuesAttribute_in_ruleListPreference5377);
                    lv_entryValues_10_0=rulePreferenceEntryValuesAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getListPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"entryValues",
                    	        		lv_entryValues_10_0, 
                    	        		"PreferenceEntryValuesAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            match(input,14,FOLLOW_14_in_ruleListPreference5388); 

                    createLeafNode(grammarAccess.getListPreferenceAccess().getRightCurlyBracketKeyword_11(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleListPreference


    // $ANTLR start entryRuleCheckBoxPreference
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3285:1: entryRuleCheckBoxPreference returns [EObject current=null] : iv_ruleCheckBoxPreference= ruleCheckBoxPreference EOF ;
    public final EObject entryRuleCheckBoxPreference() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleCheckBoxPreference = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3286:2: (iv_ruleCheckBoxPreference= ruleCheckBoxPreference EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3287:2: iv_ruleCheckBoxPreference= ruleCheckBoxPreference EOF
            {
             currentNode = createCompositeNode(grammarAccess.getCheckBoxPreferenceRule(), currentNode); 
            pushFollow(FOLLOW_ruleCheckBoxPreference_in_entryRuleCheckBoxPreference5424);
            iv_ruleCheckBoxPreference=ruleCheckBoxPreference();
            _fsp--;

             current =iv_ruleCheckBoxPreference; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleCheckBoxPreference5434); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleCheckBoxPreference


    // $ANTLR start ruleCheckBoxPreference
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3294:1: ruleCheckBoxPreference returns [EObject current=null] : ( 'checkboxpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' ) ;
    public final EObject ruleCheckBoxPreference() throws RecognitionException {
        EObject current = null;

        Token lv_title_1_0=null;
        EObject lv_key_3_0 = null;

        EObject lv_summary_4_0 = null;

        EObject lv_enabled_5_0 = null;

        EObject lv_persistent_6_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3299:6: ( ( 'checkboxpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3300:1: ( 'checkboxpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3300:1: ( 'checkboxpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3300:3: 'checkboxpreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}'
            {
            match(input,46,FOLLOW_46_in_ruleCheckBoxPreference5469); 

                    createLeafNode(grammarAccess.getCheckBoxPreferenceAccess().getCheckboxpreferenceKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3304:1: ( (lv_title_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3305:1: (lv_title_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3305:1: (lv_title_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3306:3: lv_title_1_0= RULE_STRING
            {
            lv_title_1_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleCheckBoxPreference5486); 

            			createLeafNode(grammarAccess.getCheckBoxPreferenceAccess().getTitleSTRINGTerminalRuleCall_1_0(), "title"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getCheckBoxPreferenceRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"title",
            	        		lv_title_1_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleCheckBoxPreference5501); 

                    createLeafNode(grammarAccess.getCheckBoxPreferenceAccess().getLeftCurlyBracketKeyword_2(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3332:1: ( (lv_key_3_0= rulePreferenceKeyAttribute ) )?
            int alt53=2;
            int LA53_0 = input.LA(1);

            if ( (LA53_0==34) ) {
                alt53=1;
            }
            switch (alt53) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3333:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3333:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3334:3: lv_key_3_0= rulePreferenceKeyAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getCheckBoxPreferenceAccess().getKeyPreferenceKeyAttributeParserRuleCall_3_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_ruleCheckBoxPreference5522);
                    lv_key_3_0=rulePreferenceKeyAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getCheckBoxPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"key",
                    	        		lv_key_3_0, 
                    	        		"PreferenceKeyAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3356:3: ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )?
            int alt54=2;
            int LA54_0 = input.LA(1);

            if ( (LA54_0==35) ) {
                alt54=1;
            }
            switch (alt54) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3357:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3357:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3358:3: lv_summary_4_0= rulePreferenceSummaryAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getCheckBoxPreferenceAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_4_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_ruleCheckBoxPreference5544);
                    lv_summary_4_0=rulePreferenceSummaryAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getCheckBoxPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"summary",
                    	        		lv_summary_4_0, 
                    	        		"PreferenceSummaryAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3380:3: ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )?
            int alt55=2;
            int LA55_0 = input.LA(1);

            if ( (LA55_0==36) ) {
                alt55=1;
            }
            switch (alt55) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3381:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3381:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3382:3: lv_enabled_5_0= rulePreferenceEnabledAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getCheckBoxPreferenceAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_5_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_ruleCheckBoxPreference5566);
                    lv_enabled_5_0=rulePreferenceEnabledAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getCheckBoxPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"enabled",
                    	        		lv_enabled_5_0, 
                    	        		"PreferenceEnabledAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3404:3: ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )?
            int alt56=2;
            int LA56_0 = input.LA(1);

            if ( (LA56_0==37) ) {
                alt56=1;
            }
            switch (alt56) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3405:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3405:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3406:3: lv_persistent_6_0= rulePreferencePersistentAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getCheckBoxPreferenceAccess().getPersistentPreferencePersistentAttributeParserRuleCall_6_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_ruleCheckBoxPreference5588);
                    lv_persistent_6_0=rulePreferencePersistentAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getCheckBoxPreferenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"persistent",
                    	        		lv_persistent_6_0, 
                    	        		"PreferencePersistentAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            match(input,14,FOLLOW_14_in_ruleCheckBoxPreference5599); 

                    createLeafNode(grammarAccess.getCheckBoxPreferenceAccess().getRightCurlyBracketKeyword_7(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleCheckBoxPreference


    // $ANTLR start entryRuleRingtonePrefence
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3440:1: entryRuleRingtonePrefence returns [EObject current=null] : iv_ruleRingtonePrefence= ruleRingtonePrefence EOF ;
    public final EObject entryRuleRingtonePrefence() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRingtonePrefence = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3441:2: (iv_ruleRingtonePrefence= ruleRingtonePrefence EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3442:2: iv_ruleRingtonePrefence= ruleRingtonePrefence EOF
            {
             currentNode = createCompositeNode(grammarAccess.getRingtonePrefenceRule(), currentNode); 
            pushFollow(FOLLOW_ruleRingtonePrefence_in_entryRuleRingtonePrefence5635);
            iv_ruleRingtonePrefence=ruleRingtonePrefence();
            _fsp--;

             current =iv_ruleRingtonePrefence; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRingtonePrefence5645); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleRingtonePrefence


    // $ANTLR start ruleRingtonePrefence
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3449:1: ruleRingtonePrefence returns [EObject current=null] : ( 'ringtonepreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' ) ;
    public final EObject ruleRingtonePrefence() throws RecognitionException {
        EObject current = null;

        Token lv_title_1_0=null;
        EObject lv_key_3_0 = null;

        EObject lv_summary_4_0 = null;

        EObject lv_enabled_5_0 = null;

        EObject lv_persistent_6_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3454:6: ( ( 'ringtonepreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3455:1: ( 'ringtonepreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3455:1: ( 'ringtonepreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3455:3: 'ringtonepreference' ( (lv_title_1_0= RULE_STRING ) ) '{' ( (lv_key_3_0= rulePreferenceKeyAttribute ) )? ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )? ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )? ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )? '}'
            {
            match(input,47,FOLLOW_47_in_ruleRingtonePrefence5680); 

                    createLeafNode(grammarAccess.getRingtonePrefenceAccess().getRingtonepreferenceKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3459:1: ( (lv_title_1_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3460:1: (lv_title_1_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3460:1: (lv_title_1_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3461:3: lv_title_1_0= RULE_STRING
            {
            lv_title_1_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRingtonePrefence5697); 

            			createLeafNode(grammarAccess.getRingtonePrefenceAccess().getTitleSTRINGTerminalRuleCall_1_0(), "title"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getRingtonePrefenceRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"title",
            	        		lv_title_1_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleRingtonePrefence5712); 

                    createLeafNode(grammarAccess.getRingtonePrefenceAccess().getLeftCurlyBracketKeyword_2(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3487:1: ( (lv_key_3_0= rulePreferenceKeyAttribute ) )?
            int alt57=2;
            int LA57_0 = input.LA(1);

            if ( (LA57_0==34) ) {
                alt57=1;
            }
            switch (alt57) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3488:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3488:1: (lv_key_3_0= rulePreferenceKeyAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3489:3: lv_key_3_0= rulePreferenceKeyAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getRingtonePrefenceAccess().getKeyPreferenceKeyAttributeParserRuleCall_3_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceKeyAttribute_in_ruleRingtonePrefence5733);
                    lv_key_3_0=rulePreferenceKeyAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getRingtonePrefenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"key",
                    	        		lv_key_3_0, 
                    	        		"PreferenceKeyAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3511:3: ( (lv_summary_4_0= rulePreferenceSummaryAttribute ) )?
            int alt58=2;
            int LA58_0 = input.LA(1);

            if ( (LA58_0==35) ) {
                alt58=1;
            }
            switch (alt58) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3512:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3512:1: (lv_summary_4_0= rulePreferenceSummaryAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3513:3: lv_summary_4_0= rulePreferenceSummaryAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getRingtonePrefenceAccess().getSummaryPreferenceSummaryAttributeParserRuleCall_4_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceSummaryAttribute_in_ruleRingtonePrefence5755);
                    lv_summary_4_0=rulePreferenceSummaryAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getRingtonePrefenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"summary",
                    	        		lv_summary_4_0, 
                    	        		"PreferenceSummaryAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3535:3: ( (lv_enabled_5_0= rulePreferenceEnabledAttribute ) )?
            int alt59=2;
            int LA59_0 = input.LA(1);

            if ( (LA59_0==36) ) {
                alt59=1;
            }
            switch (alt59) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3536:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3536:1: (lv_enabled_5_0= rulePreferenceEnabledAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3537:3: lv_enabled_5_0= rulePreferenceEnabledAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getRingtonePrefenceAccess().getEnabledPreferenceEnabledAttributeParserRuleCall_5_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferenceEnabledAttribute_in_ruleRingtonePrefence5777);
                    lv_enabled_5_0=rulePreferenceEnabledAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getRingtonePrefenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"enabled",
                    	        		lv_enabled_5_0, 
                    	        		"PreferenceEnabledAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3559:3: ( (lv_persistent_6_0= rulePreferencePersistentAttribute ) )?
            int alt60=2;
            int LA60_0 = input.LA(1);

            if ( (LA60_0==37) ) {
                alt60=1;
            }
            switch (alt60) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3560:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3560:1: (lv_persistent_6_0= rulePreferencePersistentAttribute )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3561:3: lv_persistent_6_0= rulePreferencePersistentAttribute
                    {
                     
                    	        currentNode=createCompositeNode(grammarAccess.getRingtonePrefenceAccess().getPersistentPreferencePersistentAttributeParserRuleCall_6_0(), currentNode); 
                    	    
                    pushFollow(FOLLOW_rulePreferencePersistentAttribute_in_ruleRingtonePrefence5799);
                    lv_persistent_6_0=rulePreferencePersistentAttribute();
                    _fsp--;


                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getRingtonePrefenceRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"persistent",
                    	        		lv_persistent_6_0, 
                    	        		"PreferencePersistentAttribute", 
                    	        		currentNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	        currentNode = currentNode.getParent();
                    	    

                    }


                    }
                    break;

            }

            match(input,14,FOLLOW_14_in_ruleRingtonePrefence5810); 

                    createLeafNode(grammarAccess.getRingtonePrefenceAccess().getRightCurlyBracketKeyword_7(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleRingtonePrefence


    // $ANTLR start entryRuleStringEntry
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3595:1: entryRuleStringEntry returns [EObject current=null] : iv_ruleStringEntry= ruleStringEntry EOF ;
    public final EObject entryRuleStringEntry() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleStringEntry = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3596:2: (iv_ruleStringEntry= ruleStringEntry EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3597:2: iv_ruleStringEntry= ruleStringEntry EOF
            {
             currentNode = createCompositeNode(grammarAccess.getStringEntryRule(), currentNode); 
            pushFollow(FOLLOW_ruleStringEntry_in_entryRuleStringEntry5846);
            iv_ruleStringEntry=ruleStringEntry();
            _fsp--;

             current =iv_ruleStringEntry; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleStringEntry5856); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleStringEntry


    // $ANTLR start ruleStringEntry
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3604:1: ruleStringEntry returns [EObject current=null] : ( 'stringarray' ( (lv_name_1_0= RULE_ID ) ) '{' ( (lv_entry_3_0= ruleEntry ) )+ '}' ) ;
    public final EObject ruleStringEntry() throws RecognitionException {
        EObject current = null;

        Token lv_name_1_0=null;
        EObject lv_entry_3_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3609:6: ( ( 'stringarray' ( (lv_name_1_0= RULE_ID ) ) '{' ( (lv_entry_3_0= ruleEntry ) )+ '}' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3610:1: ( 'stringarray' ( (lv_name_1_0= RULE_ID ) ) '{' ( (lv_entry_3_0= ruleEntry ) )+ '}' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3610:1: ( 'stringarray' ( (lv_name_1_0= RULE_ID ) ) '{' ( (lv_entry_3_0= ruleEntry ) )+ '}' )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3610:3: 'stringarray' ( (lv_name_1_0= RULE_ID ) ) '{' ( (lv_entry_3_0= ruleEntry ) )+ '}'
            {
            match(input,48,FOLLOW_48_in_ruleStringEntry5891); 

                    createLeafNode(grammarAccess.getStringEntryAccess().getStringarrayKeyword_0(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3614:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3615:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3615:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3616:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)input.LT(1);
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleStringEntry5908); 

            			createLeafNode(grammarAccess.getStringEntryAccess().getNameIDTerminalRuleCall_1_0(), "name"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getStringEntryRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"name",
            	        		lv_name_1_0, 
            	        		"ID", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }

            match(input,13,FOLLOW_13_in_ruleStringEntry5923); 

                    createLeafNode(grammarAccess.getStringEntryAccess().getLeftCurlyBracketKeyword_2(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3642:1: ( (lv_entry_3_0= ruleEntry ) )+
            int cnt61=0;
            loop61:
            do {
                int alt61=2;
                int LA61_0 = input.LA(1);

                if ( ((LA61_0>=49 && LA61_0<=50)) ) {
                    alt61=1;
                }


                switch (alt61) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3643:1: (lv_entry_3_0= ruleEntry )
            	    {
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3643:1: (lv_entry_3_0= ruleEntry )
            	    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3644:3: lv_entry_3_0= ruleEntry
            	    {
            	     
            	    	        currentNode=createCompositeNode(grammarAccess.getStringEntryAccess().getEntryEntryParserRuleCall_3_0(), currentNode); 
            	    	    
            	    pushFollow(FOLLOW_ruleEntry_in_ruleStringEntry5944);
            	    lv_entry_3_0=ruleEntry();
            	    _fsp--;


            	    	        if (current==null) {
            	    	            current = factory.create(grammarAccess.getStringEntryRule().getType().getClassifier());
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
            	    	        }
            	    	        try {
            	    	       		add(
            	    	       			current, 
            	    	       			"entry",
            	    	        		lv_entry_3_0, 
            	    	        		"Entry", 
            	    	        		currentNode);
            	    	        } catch (ValueConverterException vce) {
            	    				handleValueConverterException(vce);
            	    	        }
            	    	        currentNode = currentNode.getParent();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt61 >= 1 ) break loop61;
                        EarlyExitException eee =
                            new EarlyExitException(61, input);
                        throw eee;
                }
                cnt61++;
            } while (true);

            match(input,14,FOLLOW_14_in_ruleStringEntry5955); 

                    createLeafNode(grammarAccess.getStringEntryAccess().getRightCurlyBracketKeyword_4(), null); 
                

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleStringEntry


    // $ANTLR start entryRuleEntry
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3678:1: entryRuleEntry returns [EObject current=null] : iv_ruleEntry= ruleEntry EOF ;
    public final EObject entryRuleEntry() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleEntry = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3679:2: (iv_ruleEntry= ruleEntry EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3680:2: iv_ruleEntry= ruleEntry EOF
            {
             currentNode = createCompositeNode(grammarAccess.getEntryRule(), currentNode); 
            pushFollow(FOLLOW_ruleEntry_in_entryRuleEntry5991);
            iv_ruleEntry=ruleEntry();
            _fsp--;

             current =iv_ruleEntry; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleEntry6001); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleEntry


    // $ANTLR start ruleEntry
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3687:1: ruleEntry returns [EObject current=null] : ( ( 'name' ( (lv_name_1_0= RULE_STRING ) ) )? 'value' ( (lv_value_3_0= RULE_STRING ) ) ) ;
    public final EObject ruleEntry() throws RecognitionException {
        EObject current = null;

        Token lv_name_1_0=null;
        Token lv_value_3_0=null;

         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3692:6: ( ( ( 'name' ( (lv_name_1_0= RULE_STRING ) ) )? 'value' ( (lv_value_3_0= RULE_STRING ) ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3693:1: ( ( 'name' ( (lv_name_1_0= RULE_STRING ) ) )? 'value' ( (lv_value_3_0= RULE_STRING ) ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3693:1: ( ( 'name' ( (lv_name_1_0= RULE_STRING ) ) )? 'value' ( (lv_value_3_0= RULE_STRING ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3693:2: ( 'name' ( (lv_name_1_0= RULE_STRING ) ) )? 'value' ( (lv_value_3_0= RULE_STRING ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3693:2: ( 'name' ( (lv_name_1_0= RULE_STRING ) ) )?
            int alt62=2;
            int LA62_0 = input.LA(1);

            if ( (LA62_0==49) ) {
                alt62=1;
            }
            switch (alt62) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3693:4: 'name' ( (lv_name_1_0= RULE_STRING ) )
                    {
                    match(input,49,FOLLOW_49_in_ruleEntry6037); 

                            createLeafNode(grammarAccess.getEntryAccess().getNameKeyword_0_0(), null); 
                        
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3697:1: ( (lv_name_1_0= RULE_STRING ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3698:1: (lv_name_1_0= RULE_STRING )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3698:1: (lv_name_1_0= RULE_STRING )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3699:3: lv_name_1_0= RULE_STRING
                    {
                    lv_name_1_0=(Token)input.LT(1);
                    match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEntry6054); 

                    			createLeafNode(grammarAccess.getEntryAccess().getNameSTRINGTerminalRuleCall_0_1_0(), "name"); 
                    		

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getEntryRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        try {
                    	       		set(
                    	       			current, 
                    	       			"name",
                    	        		lv_name_1_0, 
                    	        		"STRING", 
                    	        		lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }


                    }
                    break;

            }

            match(input,50,FOLLOW_50_in_ruleEntry6071); 

                    createLeafNode(grammarAccess.getEntryAccess().getValueKeyword_1(), null); 
                
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3725:1: ( (lv_value_3_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3726:1: (lv_value_3_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3726:1: (lv_value_3_0= RULE_STRING )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3727:3: lv_value_3_0= RULE_STRING
            {
            lv_value_3_0=(Token)input.LT(1);
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEntry6088); 

            			createLeafNode(grammarAccess.getEntryAccess().getValueSTRINGTerminalRuleCall_2_0(), "value"); 
            		

            	        if (current==null) {
            	            current = factory.create(grammarAccess.getEntryRule().getType().getClassifier());
            	            associateNodeWithAstElement(currentNode, current);
            	        }
            	        try {
            	       		set(
            	       			current, 
            	       			"value",
            	        		lv_value_3_0, 
            	        		"STRING", 
            	        		lastConsumedNode);
            	        } catch (ValueConverterException vce) {
            				handleValueConverterException(vce);
            	        }
            	    

            }


            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleEntry


    // $ANTLR start entryRuleBooleanLiteral
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3757:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
    public final EObject entryRuleBooleanLiteral() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleBooleanLiteral = null;


        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3758:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3759:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
            {
             currentNode = createCompositeNode(grammarAccess.getBooleanLiteralRule(), currentNode); 
            pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral6129);
            iv_ruleBooleanLiteral=ruleBooleanLiteral();
            _fsp--;

             current =iv_ruleBooleanLiteral; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral6139); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end entryRuleBooleanLiteral


    // $ANTLR start ruleBooleanLiteral
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3766:1: ruleBooleanLiteral returns [EObject current=null] : ( () ( ( (lv_isTrue_1_0= 'true' ) ) | 'false' ) ) ;
    public final EObject ruleBooleanLiteral() throws RecognitionException {
        EObject current = null;

        Token lv_isTrue_1_0=null;

         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
            
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3771:6: ( ( () ( ( (lv_isTrue_1_0= 'true' ) ) | 'false' ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3772:1: ( () ( ( (lv_isTrue_1_0= 'true' ) ) | 'false' ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3772:1: ( () ( ( (lv_isTrue_1_0= 'true' ) ) | 'false' ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3772:2: () ( ( (lv_isTrue_1_0= 'true' ) ) | 'false' )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3772:2: ()
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3773:5: 
            {
             
                    temp=factory.create(grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0().getType().getClassifier());
                    current = temp; 
                    temp = null;
                    CompositeNode newNode = createCompositeNode(grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(), currentNode.getParent());
                newNode.getChildren().add(currentNode);
                moveLookaheadInfo(currentNode, newNode);
                currentNode = newNode; 
                    associateNodeWithAstElement(currentNode, current); 
                

            }

            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3783:2: ( ( (lv_isTrue_1_0= 'true' ) ) | 'false' )
            int alt63=2;
            int LA63_0 = input.LA(1);

            if ( (LA63_0==51) ) {
                alt63=1;
            }
            else if ( (LA63_0==52) ) {
                alt63=2;
            }
            else {
                NoViableAltException nvae =
                    new NoViableAltException("3783:2: ( ( (lv_isTrue_1_0= 'true' ) ) | 'false' )", 63, 0, input);

                throw nvae;
            }
            switch (alt63) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3783:3: ( (lv_isTrue_1_0= 'true' ) )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3783:3: ( (lv_isTrue_1_0= 'true' ) )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3784:1: (lv_isTrue_1_0= 'true' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3784:1: (lv_isTrue_1_0= 'true' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3785:3: lv_isTrue_1_0= 'true'
                    {
                    lv_isTrue_1_0=(Token)input.LT(1);
                    match(input,51,FOLLOW_51_in_ruleBooleanLiteral6192); 

                            createLeafNode(grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_0_0(), "isTrue"); 
                        

                    	        if (current==null) {
                    	            current = factory.create(grammarAccess.getBooleanLiteralRule().getType().getClassifier());
                    	            associateNodeWithAstElement(currentNode, current);
                    	        }
                    	        
                    	        try {
                    	       		set(current, "isTrue", true, "true", lastConsumedNode);
                    	        } catch (ValueConverterException vce) {
                    				handleValueConverterException(vce);
                    	        }
                    	    

                    }


                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3805:7: 'false'
                    {
                    match(input,52,FOLLOW_52_in_ruleBooleanLiteral6221); 

                            createLeafNode(grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_1(), null); 
                        

                    }
                    break;

            }


            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleBooleanLiteral


    // $ANTLR start ruleLayoutStyle
    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3817:1: ruleLayoutStyle returns [Enumerator current=null] : ( ( 'fill' ) | ( 'wrap' ) | ( 'fill&wrap' ) | ( 'wrap&fill' ) ) ;
    public final Enumerator ruleLayoutStyle() throws RecognitionException {
        Enumerator current = null;

         setCurrentLookahead(); resetLookahead(); 
        try {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3821:6: ( ( ( 'fill' ) | ( 'wrap' ) | ( 'fill&wrap' ) | ( 'wrap&fill' ) ) )
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3822:1: ( ( 'fill' ) | ( 'wrap' ) | ( 'fill&wrap' ) | ( 'wrap&fill' ) )
            {
            // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3822:1: ( ( 'fill' ) | ( 'wrap' ) | ( 'fill&wrap' ) | ( 'wrap&fill' ) )
            int alt64=4;
            switch ( input.LA(1) ) {
            case 53:
                {
                alt64=1;
                }
                break;
            case 54:
                {
                alt64=2;
                }
                break;
            case 55:
                {
                alt64=3;
                }
                break;
            case 56:
                {
                alt64=4;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("3822:1: ( ( 'fill' ) | ( 'wrap' ) | ( 'fill&wrap' ) | ( 'wrap&fill' ) )", 64, 0, input);

                throw nvae;
            }

            switch (alt64) {
                case 1 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3822:2: ( 'fill' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3822:2: ( 'fill' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3822:4: 'fill'
                    {
                    match(input,53,FOLLOW_53_in_ruleLayoutStyle6270); 

                            current = grammarAccess.getLayoutStyleAccess().getFILLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
                            createLeafNode(grammarAccess.getLayoutStyleAccess().getFILLEnumLiteralDeclaration_0(), null); 
                        

                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3828:6: ( 'wrap' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3828:6: ( 'wrap' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3828:8: 'wrap'
                    {
                    match(input,54,FOLLOW_54_in_ruleLayoutStyle6285); 

                            current = grammarAccess.getLayoutStyleAccess().getWRAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
                            createLeafNode(grammarAccess.getLayoutStyleAccess().getWRAPEnumLiteralDeclaration_1(), null); 
                        

                    }


                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3834:6: ( 'fill&wrap' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3834:6: ( 'fill&wrap' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3834:8: 'fill&wrap'
                    {
                    match(input,55,FOLLOW_55_in_ruleLayoutStyle6300); 

                            current = grammarAccess.getLayoutStyleAccess().getFILL_WRAPEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
                            createLeafNode(grammarAccess.getLayoutStyleAccess().getFILL_WRAPEnumLiteralDeclaration_2(), null); 
                        

                    }


                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3840:6: ( 'wrap&fill' )
                    {
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3840:6: ( 'wrap&fill' )
                    // ../hu.bme.mit.androtext.gui/src-gen/hu/bme/mit/androtext/gui/parser/antlr/internal/InternalAndroGuiLang.g:3840:8: 'wrap&fill'
                    {
                    match(input,56,FOLLOW_56_in_ruleLayoutStyle6315); 

                            current = grammarAccess.getLayoutStyleAccess().getWRAP_FILLEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
                            createLeafNode(grammarAccess.getLayoutStyleAccess().getWRAP_FILLEnumLiteralDeclaration_3(), null); 
                        

                    }


                    }
                    break;

            }


            }

             resetLookahead(); 
                	lastConsumedNode = currentNode;
                
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end ruleLayoutStyle


 

    public static final BitSet FOLLOW_ruleAndroGuiRoot_in_entryRuleAndroGuiRoot75 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleAndroGuiRoot85 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_11_in_ruleAndroGuiRoot120 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleAndroGuiRoot137 = new BitSet(new long[]{0x00000400000C9000L});
    public static final BitSet FOLLOW_ruleRootLayout_in_ruleAndroGuiRoot163 = new BitSet(new long[]{0x0001000000000002L});
    public static final BitSet FOLLOW_ruleStringEntry_in_ruleAndroGuiRoot184 = new BitSet(new long[]{0x0001000000000002L});
    public static final BitSet FOLLOW_ruleRootLayout_in_entryRuleRootLayout221 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRootLayout231 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLayout_in_ruleRootLayout277 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleUIElement_in_entryRuleUIElement311 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleUIElement321 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleWidget_in_ruleUIElement368 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLayout_in_ruleUIElement395 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLayout_in_entryRuleLayout430 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleLayout440 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleAbsoluteLayout_in_ruleLayout487 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLinearLayout_in_ruleLayout514 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleFrameLayout_in_ruleLayout541 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRelativeLayout_in_ruleLayout568 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceScreen_in_ruleLayout595 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleAbsoluteLayout_in_entryRuleAbsoluteLayout630 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleAbsoluteLayout640 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_12_in_ruleAbsoluteLayout675 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleAbsoluteLayout692 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleAbsoluteLayout719 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleAbsoluteLayout729 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleAbsoluteLayout750 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleAbsoluteLayout761 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLinearLayout_in_entryRuleLinearLayout797 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleLinearLayout807 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_15_in_ruleLinearLayout842 = new BitSet(new long[]{0x01E0000000030010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleLinearLayout859 = new BitSet(new long[]{0x01E0000000030000L});
    public static final BitSet FOLLOW_16_in_ruleLinearLayout884 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_17_in_ruleLinearLayout913 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleLinearLayout936 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleLinearLayout946 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleLinearLayout967 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleLinearLayout978 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleFrameLayout_in_entryRuleFrameLayout1014 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleFrameLayout1024 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_18_in_ruleFrameLayout1059 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleFrameLayout1076 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleFrameLayout1103 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleFrameLayout1113 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleFrameLayout1134 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleFrameLayout1145 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRelativeLayout_in_entryRuleRelativeLayout1181 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRelativeLayout1191 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_19_in_ruleRelativeLayout1226 = new BitSet(new long[]{0x01E0000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRelativeLayout1243 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRelativeLayout1270 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleRelativeLayout1280 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleRelativeLayout1301 = new BitSet(new long[]{0x000004007CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleRelativeLayout1312 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleWidget_in_entryRuleWidget1348 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleWidget1358 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleTextView_in_ruleWidget1405 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEditText_in_ruleWidget1432 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleButton_in_ruleWidget1459 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleListView_in_ruleWidget1486 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleSpinner_in_ruleWidget1513 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRadioGroup_in_ruleWidget1540 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleCheckBox_in_ruleWidget1567 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRatingBar_in_ruleWidget1594 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleToggleButton_in_ruleWidget1621 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleTextView_in_entryRuleTextView1656 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleTextView1666 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_20_in_ruleTextView1701 = new BitSet(new long[]{0x0000000000000030L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleTextView1718 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleTextView1741 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleTextView1767 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEditText_in_entryRuleEditText1803 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleEditText1813 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_21_in_ruleEditText1848 = new BitSet(new long[]{0x0000000000000030L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleEditText1865 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleEditText1888 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleEditText1914 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleButton_in_entryRuleButton1950 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleButton1960 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_22_in_ruleButton1995 = new BitSet(new long[]{0x0000000000000030L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleButton2012 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleButton2035 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleButton2061 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleListView_in_entryRuleListView2097 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleListView2107 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_23_in_ruleListView2142 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleListView2159 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleListView2185 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleListView2195 = new BitSet(new long[]{0x0000000003004000L});
    public static final BitSet FOLLOW_24_in_ruleListView2206 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleListView2224 = new BitSet(new long[]{0x0000000002004000L});
    public static final BitSet FOLLOW_25_in_ruleListView2237 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleListView2255 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleListView2267 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleSpinner_in_entryRuleSpinner2303 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleSpinner2313 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_26_in_ruleSpinner2348 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleSpinner2365 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleSpinner2389 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleSpinner2410 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleCheckBox_in_entryRuleCheckBox2446 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleCheckBox2456 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_27_in_ruleCheckBox2491 = new BitSet(new long[]{0x0000000000000030L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleCheckBox2508 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleCheckBox2531 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleCheckBox2557 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRadioGroup_in_entryRuleRadioGroup2593 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRadioGroup2603 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_28_in_ruleRadioGroup2638 = new BitSet(new long[]{0x01E0000000030010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRadioGroup2655 = new BitSet(new long[]{0x01E0000000030000L});
    public static final BitSet FOLLOW_16_in_ruleRadioGroup2680 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_17_in_ruleRadioGroup2709 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRadioGroup2732 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleRadioGroup2742 = new BitSet(new long[]{0x0000000200000000L});
    public static final BitSet FOLLOW_ruleRadioButton_in_ruleRadioGroup2763 = new BitSet(new long[]{0x0000000200004000L});
    public static final BitSet FOLLOW_14_in_ruleRadioGroup2774 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRatingBar_in_entryRuleRatingBar2810 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRatingBar2820 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_29_in_ruleRatingBar2855 = new BitSet(new long[]{0x0000000000000050L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRatingBar2872 = new BitSet(new long[]{0x0000000000000040L});
    public static final BitSet FOLLOW_RULE_INT_in_ruleRatingBar2895 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRatingBar2921 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleToggleButton_in_entryRuleToggleButton2957 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleToggleButton2967 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_30_in_ruleToggleButton3002 = new BitSet(new long[]{0x0000000080000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleToggleButton3019 = new BitSet(new long[]{0x0000000080000000L});
    public static final BitSet FOLLOW_31_in_ruleToggleButton3035 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleToggleButton3052 = new BitSet(new long[]{0x0000000100000000L});
    public static final BitSet FOLLOW_32_in_ruleToggleButton3067 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleToggleButton3084 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleToggleButton3110 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRadioButton_in_entryRuleRadioButton3146 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRadioButton3156 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_33_in_ruleRadioButton3191 = new BitSet(new long[]{0x0000000000000030L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRadioButton3208 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRadioButton3231 = new BitSet(new long[]{0x01E0000000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRadioButton3257 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_entryRulePreferenceKeyAttribute3293 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceKeyAttribute3303 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_34_in_rulePreferenceKeyAttribute3338 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_rulePreferenceKeyAttribute3355 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_entryRulePreferenceSummaryAttribute3396 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceSummaryAttribute3406 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_35_in_rulePreferenceSummaryAttribute3441 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceSummaryAttribute3458 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_entryRulePreferenceEnabledAttribute3499 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceEnabledAttribute3509 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_36_in_rulePreferenceEnabledAttribute3544 = new BitSet(new long[]{0x0018000000000000L});
    public static final BitSet FOLLOW_ruleBooleanLiteral_in_rulePreferenceEnabledAttribute3565 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_entryRulePreferencePersistentAttribute3601 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferencePersistentAttribute3611 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_37_in_rulePreferencePersistentAttribute3646 = new BitSet(new long[]{0x0018000000000000L});
    public static final BitSet FOLLOW_ruleBooleanLiteral_in_rulePreferencePersistentAttribute3667 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceDialogTitleAttribute_in_entryRulePreferenceDialogTitleAttribute3703 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceDialogTitleAttribute3713 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_38_in_rulePreferenceDialogTitleAttribute3748 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceDialogTitleAttribute3765 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceDefaultValueAttribute_in_entryRulePreferenceDefaultValueAttribute3806 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceDefaultValueAttribute3816 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_39_in_rulePreferenceDefaultValueAttribute3851 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceDefaultValueAttribute3868 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceEntriesAttribute_in_entryRulePreferenceEntriesAttribute3909 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceEntriesAttribute3919 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_24_in_rulePreferenceEntriesAttribute3954 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_rulePreferenceEntriesAttribute3972 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceEntryValuesAttribute_in_entryRulePreferenceEntryValuesAttribute4008 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceEntryValuesAttribute4018 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_40_in_rulePreferenceEntryValuesAttribute4053 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_rulePreferenceEntryValuesAttribute4071 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreference_in_entryRulePreference4107 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreference4117 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_41_in_rulePreference4153 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreference4170 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_rulePreference4185 = new BitSet(new long[]{0x0000003C00004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_rulePreference4206 = new BitSet(new long[]{0x0000003800004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_rulePreference4228 = new BitSet(new long[]{0x0000003000004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_rulePreference4250 = new BitSet(new long[]{0x0000002000004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_rulePreference4272 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_rulePreference4283 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEditTextPreference_in_rulePreference4312 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleListPreference_in_rulePreference4339 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleCheckBoxPreference_in_rulePreference4366 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRingtonePrefence_in_rulePreference4393 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceCategory_in_rulePreference4420 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceScreen_in_rulePreference4447 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceScreen_in_entryRulePreferenceScreen4482 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceScreen4492 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_42_in_rulePreferenceScreen4536 = new BitSet(new long[]{0x0000000000002020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceScreen4553 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_rulePreferenceScreen4569 = new BitSet(new long[]{0x0000FE3C00004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_rulePreferenceScreen4590 = new BitSet(new long[]{0x0000FE3800004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_rulePreferenceScreen4612 = new BitSet(new long[]{0x0000FE3000004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_rulePreferenceScreen4634 = new BitSet(new long[]{0x0000FE2000004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_rulePreferenceScreen4656 = new BitSet(new long[]{0x0000FE0000004000L});
    public static final BitSet FOLLOW_rulePreference_in_rulePreferenceScreen4678 = new BitSet(new long[]{0x0000FE0000004000L});
    public static final BitSet FOLLOW_14_in_rulePreferenceScreen4689 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceCategory_in_entryRulePreferenceCategory4725 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceCategory4735 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_43_in_rulePreferenceCategory4770 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceCategory4787 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_rulePreferenceCategory4802 = new BitSet(new long[]{0x0000FE0000004000L});
    public static final BitSet FOLLOW_rulePreference_in_rulePreferenceCategory4823 = new BitSet(new long[]{0x0000FE0000004000L});
    public static final BitSet FOLLOW_14_in_rulePreferenceCategory4834 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEditTextPreference_in_entryRuleEditTextPreference4870 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleEditTextPreference4880 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_44_in_ruleEditTextPreference4915 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleEditTextPreference4932 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleEditTextPreference4947 = new BitSet(new long[]{0x000000FC00004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_ruleEditTextPreference4968 = new BitSet(new long[]{0x000000F800004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_ruleEditTextPreference4990 = new BitSet(new long[]{0x000000F000004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_ruleEditTextPreference5012 = new BitSet(new long[]{0x000000E000004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_ruleEditTextPreference5034 = new BitSet(new long[]{0x000000C000004000L});
    public static final BitSet FOLLOW_rulePreferenceDialogTitleAttribute_in_ruleEditTextPreference5056 = new BitSet(new long[]{0x0000008000004000L});
    public static final BitSet FOLLOW_rulePreferenceDefaultValueAttribute_in_ruleEditTextPreference5078 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleEditTextPreference5089 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleListPreference_in_entryRuleListPreference5125 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleListPreference5135 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_45_in_ruleListPreference5170 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleListPreference5187 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleListPreference5202 = new BitSet(new long[]{0x000001FC01004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_ruleListPreference5223 = new BitSet(new long[]{0x000001F801004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_ruleListPreference5245 = new BitSet(new long[]{0x000001F001004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_ruleListPreference5267 = new BitSet(new long[]{0x000001E001004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_ruleListPreference5289 = new BitSet(new long[]{0x000001C001004000L});
    public static final BitSet FOLLOW_rulePreferenceDialogTitleAttribute_in_ruleListPreference5311 = new BitSet(new long[]{0x0000018001004000L});
    public static final BitSet FOLLOW_rulePreferenceDefaultValueAttribute_in_ruleListPreference5333 = new BitSet(new long[]{0x0000010001004000L});
    public static final BitSet FOLLOW_rulePreferenceEntriesAttribute_in_ruleListPreference5355 = new BitSet(new long[]{0x0000010000004000L});
    public static final BitSet FOLLOW_rulePreferenceEntryValuesAttribute_in_ruleListPreference5377 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleListPreference5388 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleCheckBoxPreference_in_entryRuleCheckBoxPreference5424 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleCheckBoxPreference5434 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_46_in_ruleCheckBoxPreference5469 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleCheckBoxPreference5486 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleCheckBoxPreference5501 = new BitSet(new long[]{0x0000003C00004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_ruleCheckBoxPreference5522 = new BitSet(new long[]{0x0000003800004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_ruleCheckBoxPreference5544 = new BitSet(new long[]{0x0000003000004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_ruleCheckBoxPreference5566 = new BitSet(new long[]{0x0000002000004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_ruleCheckBoxPreference5588 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleCheckBoxPreference5599 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRingtonePrefence_in_entryRuleRingtonePrefence5635 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRingtonePrefence5645 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_47_in_ruleRingtonePrefence5680 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRingtonePrefence5697 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleRingtonePrefence5712 = new BitSet(new long[]{0x0000003C00004000L});
    public static final BitSet FOLLOW_rulePreferenceKeyAttribute_in_ruleRingtonePrefence5733 = new BitSet(new long[]{0x0000003800004000L});
    public static final BitSet FOLLOW_rulePreferenceSummaryAttribute_in_ruleRingtonePrefence5755 = new BitSet(new long[]{0x0000003000004000L});
    public static final BitSet FOLLOW_rulePreferenceEnabledAttribute_in_ruleRingtonePrefence5777 = new BitSet(new long[]{0x0000002000004000L});
    public static final BitSet FOLLOW_rulePreferencePersistentAttribute_in_ruleRingtonePrefence5799 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleRingtonePrefence5810 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleStringEntry_in_entryRuleStringEntry5846 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleStringEntry5856 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_48_in_ruleStringEntry5891 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleStringEntry5908 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleStringEntry5923 = new BitSet(new long[]{0x0006000000000000L});
    public static final BitSet FOLLOW_ruleEntry_in_ruleStringEntry5944 = new BitSet(new long[]{0x0006000000004000L});
    public static final BitSet FOLLOW_14_in_ruleStringEntry5955 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEntry_in_entryRuleEntry5991 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleEntry6001 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_49_in_ruleEntry6037 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleEntry6054 = new BitSet(new long[]{0x0004000000000000L});
    public static final BitSet FOLLOW_50_in_ruleEntry6071 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleEntry6088 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral6129 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral6139 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_51_in_ruleBooleanLiteral6192 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_52_in_ruleBooleanLiteral6221 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_53_in_ruleLayoutStyle6270 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_54_in_ruleLayoutStyle6285 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_55_in_ruleLayoutStyle6300 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_56_in_ruleLayoutStyle6315 = new BitSet(new long[]{0x0000000000000002L});

}